15 #include "../../config/config.hpp" 20 #include "../pmesh.hpp" 21 #include "../../fem/pgridfunc.hpp" 108 return parent_element_ids_;
118 return parent_vertex_ids_;
128 return parent_face_ids_;
138 return parent_to_submesh_face_ids_;
172 return dynamic_cast<const ParSubMesh *
>(m) !=
nullptr;
211 void FindSharedVerticesRanks(
Array<int> &rhvtx);
283 void BuildVertexGroup(
int ngroups,
const Array<int>& rhvtx,
int& nsverts);
292 void BuildEdgeGroup(
int ngroups,
const Array<int>& rhe,
int& nsedges);
303 void BuildFaceGroup(
int ngroups,
const Array<int>& rht,
int& nstrias,
312 void BuildSharedVerticesMapping(
const int nsverts,
const Array<int>& rhvtx);
320 void BuildSharedEdgesMapping(
const int nsedges,
const Array<int>& rhe);
332 void BuildSharedFacesMapping(
const int nstrias,
const Array<int>& rht,
377 #endif // MFEM_USE_MPI static ParSubMesh CreateFromBoundary(const ParMesh &parent, Array< int > &boundary_attributes)
Create a surface ParSubMesh from it's parent.
const Array< int > & GetParentElementIDMap() const
Get the parent element id map.
const ParMesh * GetParent() const
Get the parent ParMesh object.
const Array< int > & GetParentFaceIDMap() const
Get the parent face id map.
SubMesh::From GetFrom()
Get the From indicator.
Subdomain representation of a topological parent in another ParMesh.
static ParSubMesh CreateFromDomain(const ParMesh &parent, Array< int > &domain_attributes)
Create a domain ParSubMesh from it's parent.
static bool IsParSubMesh(const ParMesh *m)
Check if ParMesh m is a ParSubMesh.
ParTransferMap represents a mapping of degrees of freedom from a source ParGridFunction to a destinat...
From
Indicator from which part of the parent Mesh the SubMesh is created.
static ParTransferMap CreateTransferMap(const ParGridFunction &src, const ParGridFunction &dst)
Create a Transfer Map object.
const Array< int > & GetParentToSubMeshFaceIDMap() const
Get the ParSubMesh face id map.
Class for parallel grid function.
static void Transfer(const ParGridFunction &src, ParGridFunction &dst)
Transfer the dofs of a ParGridFunction.
const Array< int > & GetParentVertexIDMap() const
Get the parent vertex id map.
Class for parallel meshes.
Array< int > attributes
A list of all unique element attributes used by the Mesh.