8 if (&mesh == checker_ptr) {
12 }
else if (
const int64_t checker_dimension = checker_ptr->top_cell_dimension();
13 checker_dimension >= my_dimension) {
14 auto checker_simplices = mesh.
map_tuples(*checker_ptr, simplex);
16 for (
const Tuple& t : checker_simplices) {
21 }
else if (checker_dimension == my_dimension - 1) {
22 if (mesh.
can_map(*checker_ptr, simplex)) {
bool is_boundary(const simplex::Simplex &tuple) const
check if a simplex lies on a boundary or not
std::vector< std::shared_ptr< Mesh > > get_all_child_meshes() const
returns all multimesh child meshes
std::vector< Tuple > map_tuples(const Mesh &other_mesh, const simplex::Simplex &my_simplex) const
maps a simplex from this mesh to any other mesh
int64_t top_cell_dimension() const
Mesh & get_multi_mesh_root()
returns a reference to the root of a multimesh tree
bool can_map(const Mesh &other_mesh, const simplex::Simplex &my_simplex) const
static BoundaryChecker for_all_meshes(const Mesh &m)
void add_mesh(const Mesh &m)
bool is_boundary(const Mesh &m, const wmtk::simplex::Simplex &simplex) const
std::vector< const Mesh * > m_meshes
PrimitiveType primitive_type() const