MFEM  v4.5.1
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Namespaces | Functions
submesh_utils.cpp File Reference

Go to the source code of this file.

Namespaces

 mfem
 
 mfem::SubMeshUtils
 

Functions

bool mfem::SubMeshUtils::ElementHasAttribute (const Element &el, const Array< int > &attributes)
 Given an element el and a list of attributes, determine if that element is in at least one attribute of attributes. More...
 
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. More...
 
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. More...
 
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. More...