Structure
MeshSelection_
class is designed to select parts of domain_
object.
It selects the mesh_
by using meshID
, elemNum
, nodeNum
and/or boundingBox
.
This class can be used to map material properties to meshes. In general it can be used to tag mesh entities.
![[MeshSelection_workflow.svg]]
TYPE :: MeshSelection_
PRIVATE
LOGICAL(LGT), PUBLIC :: isInitiated = .FALSE.
LOGICAL(LGT), PUBLIC :: isSelectionByMeshID = .FALSE.
LOGICAL(LGT), PUBLIC :: isSelectionByElemNum = .FALSE.
LOGICAL(LGT), PUBLIC :: isSelectionByBox = .FALSE.
LOGICAL(LGT), PUBLIC :: isSelectionByNodeNum = .FALSE.
TYPE(IntVector_) :: pointMeshID
TYPE(IntVector_) :: curveMeshID
TYPE(IntVector_) :: surfaceMeshID
TYPE(IntVector_) :: volumeMeshID
TYPE(IntVector_) :: pointElemNum
TYPE(IntVector_) :: curveElemNum
TYPE(IntVector_) :: surfaceElemNum
TYPE(IntVector_) :: volumeElemNum
TYPE(IntVector_) :: nodeNum
isInitiated
, True if an instance of MeshSelection is initiatedisSelectionByMeshID
, True if the mesh selection is done by specifying the mesh idisSelectionByElemNum
, True if the mesh slection is done by specifying the global element numberisSelectionByBox
, True if the mesh selection is done by specifying the bounding boxisSelectionByNodeNum
, True if the mesh selection is done by specifying global node numberspointMeshID
, It denotes the IDs of mesh which has xidim=0, that is point meshcurveMeshID
, It denotes the IDs of mesh which has xidim=1, that is, curve meshsurfaceMeshID
, It denotes the IDs of mesh which has xidim=2, that is, surface meshvolumeMeshID
, It denotes the IDs of mesh which has xidim=3, that is, volume meshpointElemNum
, It denotes the global element numbers that are used to select the mesh, and belongs to the point meshcurveElemNum
, It denotes the global element numbers that are used to select the mesh, and belongs to the curve meshsurfaceElemNum
, It denotes the global element numbers that are used to select the mesh, and belongs to the surface meshvolumeElemNum
, It denotes the global element numbers that are used to select the mesh, and belongs to the volume meshnodeNum
, It denotes the global node number that are used to select the mesh