17#include <unordered_map>
110 return parent_element_ids_;
120 return parent_face_ids_;
130 return parent_face_ori_;
140 return parent_vertex_ids_;
174 return dynamic_cast<const SubMesh *
>(m) !=
nullptr;
Class for grid function - Vector with associated FE space.
Array< int > attributes
A list of all unique element attributes used by the Mesh.
Subdomain representation of a topological parent in another Mesh.
static SubMesh CreateFromBoundary(const Mesh &parent, Array< int > boundary_attributes)
Create a surface SubMesh from its parent.
const Array< int > & GetParentElementIDMap() const
Get the parent element id map.
const Array< int > & GetParentFaceIDMap() const
Get the face id map.
const Array< int > & GetParentVertexIDMap() const
Get the parent vertex id map.
static void Transfer(const GridFunction &src, GridFunction &dst)
Transfer the dofs of a GridFunction.
From GetFrom() const
Get the From indicator.
static const int GENERATED_ATTRIBUTE
static SubMesh CreateFromDomain(const Mesh &parent, Array< int > domain_attributes)
Create a domain SubMesh from its parent.
static TransferMap CreateTransferMap(const GridFunction &src, const GridFunction &dst)
Create a Transfer Map object.
const Array< int > & GetParentFaceOrientations() const
Get the relative face orientations.
static bool IsSubMesh(const Mesh *m)
Check if Mesh m is a SubMesh.
const Mesh * GetParent() const
Get the parent Mesh object.
From
Indicator from which part of the parent Mesh the SubMesh is created.
TransferMap represents a mapping of degrees of freedom from a source GridFunction to a destination Gr...