18#include <unordered_map>
45 return dynamic_cast<const NCSubMesh *
>(m) !=
nullptr;
66 std::unordered_map<int, int> parent_to_submesh_node_ids_;
70 std::unordered_map<int, int> parent_to_submesh_element_ids_;
A class for non-conforming AMR. The class is not used directly by the user, rather it is an extension...
Class representing a Nonconformal SubMesh. This is only used by SubMesh.
static bool IsNCSubMesh(const NCMesh *m)
Check if NCMesh m is a NCSubMesh.
const NCMesh * GetParent() const
Get the parent NCMesh object.
Subdomain representation of a topological parent in another Mesh.
From
Indicator from which part of the parent Mesh the SubMesh is created.
void ConstructFaceTree(NCSubMeshT &submesh, const Array< int > &attributes)
Construct a nonconformal mesh (serial or parallel) for a surface submesh, from an existing nonconform...
void ConstructVolumeTree(NCSubMeshT &submesh, const Array< int > &attributes)
Construct a nonconformal mesh (serial or parallel) for a volume submesh, from an existing nonconforma...