15 #include "../mesh.hpp"
17 #include <unordered_map>
110 return parent_element_ids_;
120 return parent_face_ids_;
130 return parent_vertex_ids_;
164 return dynamic_cast<const SubMesh *
>(m) !=
nullptr;
Class for grid function - Vector with associated FE space.
const Array< int > & GetParentFaceIDMap() const
Get the face id map.
const Array< int > & GetParentElementIDMap() const
Get the parent element id map.
static SubMesh CreateFromDomain(const Mesh &parent, Array< int > domain_attributes)
Create a domain SubMesh from its parent.
const Mesh * GetParent() const
Get the parent Mesh object.
const Array< int > & GetParentVertexIDMap() const
Get the parent vertex id map.
TransferMap represents a mapping of degrees of freedom from a source GridFunction to a destination Gr...
static bool IsSubMesh(const Mesh *m)
Check if Mesh m is a SubMesh.
static const int GENERATED_ATTRIBUTE
From GetFrom() const
Get the From indicator.
From
Indicator from which part of the parent Mesh the SubMesh is created.
static void Transfer(const GridFunction &src, GridFunction &dst)
Transfer the dofs of a GridFunction.
static TransferMap CreateTransferMap(const GridFunction &src, const GridFunction &dst)
Create a Transfer Map object.
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.
Array< int > attributes
A list of all unique element attributes used by the Mesh.