Wildmeshing Toolkit
from_facet_bijection.cpp
Go to the documentation of this file.
1
#include <
wmtk/Mesh.hpp
>
2
#include <
wmtk/multimesh/same_simplex_dimension_bijection.hpp
>
3
4
namespace
wmtk::components::multimesh
{
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
Mesh.hpp
wmtk::Mesh
Definition:
Mesh.hpp:106
wmtk::Mesh::register_child_mesh
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
Definition:
Mesh_multimesh.cpp:16
wmtk::components::multimesh
Definition:
axis_aligned_fusion.cpp:15
wmtk::components::multimesh::from_facet_bijection
void from_facet_bijection(Mesh &parent, Mesh &child)
Definition:
from_facet_bijection.cpp:7
wmtk::multimesh::same_simplex_dimension_bijection
std::vector< std::array< Tuple, 2 > > same_simplex_dimension_bijection(const Mesh &parent, const Mesh &child)
Definition:
same_simplex_dimension_bijection.cpp:9
same_simplex_dimension_bijection.hpp
components
multimesh
src
wmtk
components
multimesh
from_facet_bijection.cpp
Generated by
1.9.1