Skip to main content

AbstractDomain

AbstractDomain is defined by a collection of the meshes of different dimensions (such as 1, 2, 3). It represents the finite element computation domain.

Summary of methods​

GetMethods​

Method NameDescription
GetMeshPointerReturns pointer to the mesh in the domain
IsNodePresentChecks if a node is present in domain
IsElementPresentChecks if an element is present in domain
GetConnectivityGets the vertex connectivity
GetConnectivity_Gets the vertex connectivity (subroutine version)
GetNNEGets number of nodes/vertices in element
GetNodeToElementsGets list of elements connected to specified node(s)
GetNodeToElements_Gets list of elements connected to specified node(s) (subroutine version)
GetTotalNodesReturns the total number of nodes in domain/mesh/part
.tNodes.Operator for getting total nodes
GetTotalElementsReturns the total number of elements in domain/mesh/part
.tElements.Operator for getting total elements
GetLocalNodeNumberGets local node numbers stored in the domain
GetGlobalNodeNumberReturns global node number from local node number
GetTotalEntitiesReturns total number of mesh entities
GetTotalMeshReturns total number of mesh entities (deprecated)
GetDimEntityNumReturns dim and entity-num of mesh containing element
GetNodeCoordReturns nodal coordinates
GetNodeCoordPointerReturns pointer to nodal coordinates
GetNearestNodeGets the nearest node(s) to a given point
GetNptrsReturns node numbers (function version)
GetNptrs_Returns node numbers (subroutine version)
GetInternalNptrsReturns internal node numbers
GetNptrsInBoxGets node numbers in a bounding box
GetNptrsInBox_Gets node numbers in a box with allocation
GetBoundingBoxReturns bounding box
GetNSDReturns the spatial dimension
GetOrderGets order information
GetTotalMeshFacetDataGets size of mesh facet data
GetTotalMaterialGets total number of materials
GetElemTypeReturns element type of each mesh
GetUniqueElemTypeReturns unique element types in the mesh
IsInitReturns initialization status
GetMaxNodeNumberReturns maximum node number
GetMinNodeNumberReturns minimum node number
GetMaxElemNumberReturns maximum element number
GetMinElemNumberReturns minimum element number
GetParamReturns various parameters

Constructor Methods​

Method NameDescription
InitiateInitiates an instance of domain
DEALLOCATEDeallocates data stored inside an instance of domain
DeallocateKdtreeDeallocates kdtree related data
IMPORTInitiates an instance of domain by importing data from meshfile
ImportFromTomlInitiates an instance of domain by importing meshfile name from Toml file
DisplayDisplays the domain information
DisplayDomainInfoDisplays detailed domain information

All methods​