![]() |
MFEM v4.8.0
Finite element discretization library
|
Go to the source code of this file.
Namespaces | |
namespace | mfem |
namespace | mfem::SubMeshUtils |
Functions | |
template<typename ElementT > | |
bool | mfem::SubMeshUtils::ElementHasAttribute (const ElementT &el, const Array< int > &attributes) |
std::tuple< Array< int >, Array< int > > | mfem::SubMeshUtils::AddElementsToMesh (const Mesh &parent, Mesh &mesh, const Array< int > &attributes, bool from_boundary=false) |
Given a Mesh parent and another Mesh mesh using the list of attributes in attributes, this function adds matching elements with those attributes from parent to mesh. | |
void | mfem::SubMeshUtils::BuildVdofToVdofMap (const FiniteElementSpace &subfes, const FiniteElementSpace &parentfes, const SubMesh::From &from, const Array< int > &parent_element_ids, Array< int > &vdof_to_vdof_map) |
Build the vdof to vdof mapping between two FiniteElementSpace objects. | |
Array< int > | mfem::SubMeshUtils::BuildFaceMap (const Mesh &parent, const Mesh &mesh, const Array< int > &parent_element_ids) |
Given two meshes that have a parent to SubMesh relationship create a face map, using a SubMesh to parent Mesh element id map. | |
template<typename SubMeshT > | |
void | mfem::SubMeshUtils::AddBoundaryElements (SubMeshT &mesh, const std::unordered_map< int, int > &lface_to_boundary_attribute={}) |
Add boundary elements to the SubMesh. | |
template void | mfem::SubMeshUtils::AddBoundaryElements (SubMesh &mesh, const std::unordered_map< int, int > &) |
template void | mfem::SubMeshUtils::AddBoundaryElements (ParSubMesh &mesh, const std::unordered_map< int, int > &) |
template<typename NCSubMeshT > | |
void | mfem::SubMeshUtils::ConstructFaceTree (NCSubMeshT &submesh, const Array< int > &attributes) |
Construct a nonconformal mesh (serial or parallel) for a surface submesh, from an existing nonconformal volume mesh (serial or parallel). | |
template void | mfem::SubMeshUtils::ConstructFaceTree (NCSubMesh &submesh, const Array< int > &attributes) |
template void | mfem::SubMeshUtils::ConstructFaceTree (ParNCSubMesh &submesh, const Array< int > &attributes) |
template<typename NCSubMeshT > | |
void | mfem::SubMeshUtils::ConstructVolumeTree (NCSubMeshT &submesh, const Array< int > &attributes) |
Construct a nonconformal mesh (serial or parallel) for a volume submesh, from an existing nonconformal volume mesh (serial or parallel). | |
template void | mfem::SubMeshUtils::ConstructVolumeTree (NCSubMesh &submesh, const Array< int > &attributes) |
template void | mfem::SubMeshUtils::ConstructVolumeTree (ParNCSubMesh &submesh, const Array< int > &attributes) |
std::array<int, NCMesh::MaxFaceNodes> nodes |
Definition at line 408 of file submesh_utils.cpp.