Wildmeshing Toolkit
from_facet_bijection.cpp
Go to the documentation of this file.
1 #include <wmtk/Mesh.hpp>
3 
5 
6 
7 void from_facet_bijection(Mesh& parent, Mesh& child)
8 {
9  auto child_map = wmtk::multimesh::same_simplex_dimension_bijection(parent, child);
10  parent.register_child_mesh(child.shared_from_this(), child_map);
11 }
12 
13 } // namespace wmtk::components::multimesh
void register_child_mesh(const std::shared_ptr< Mesh > &child_mesh_ptr, const std::vector< std::array< Tuple, 2 >> &map_tuples)
register a mesh as the child of this mesh
void from_facet_bijection(Mesh &parent, Mesh &child)
std::vector< std::array< Tuple, 2 > > same_simplex_dimension_bijection(const Mesh &parent, const Mesh &child)