Wildmeshing Toolkit
wmtk::multimesh::utils::MapValidator Class Reference

#include <MapValidator.hpp>

Collaboration diagram for wmtk::multimesh::utils::MapValidator:
[legend]

Public Member Functions

 MapValidator (const Mesh &m)
 
bool check_child_map_attributes_valid () const
 
bool check_parent_map_attribute_valid () const
 
bool check_all () const
 
bool check_switch_homomorphism () const
 
bool check_child_switch_homomorphism (const Mesh &child) const
 

Private Attributes

const Meshm_mesh
 

Detailed Description

Definition at line 11 of file MapValidator.hpp.

Constructor & Destructor Documentation

◆ MapValidator()

wmtk::multimesh::utils::MapValidator::MapValidator ( const Mesh m)

Definition at line 12 of file MapValidator.cpp.

Member Function Documentation

◆ check_all()

bool wmtk::multimesh::utils::MapValidator::check_all ( ) const

Definition at line 15 of file MapValidator.cpp.

References check_child_map_attributes_valid(), check_parent_map_attribute_valid(), and check_switch_homomorphism().

Referenced by wmtk::multimesh::utils::check_maps_valid().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ check_child_map_attributes_valid()

bool wmtk::multimesh::utils::MapValidator::check_child_map_attributes_valid ( ) const

Definition at line 28 of file MapValidator.cpp.

References wmtk::Mesh::absolute_multi_mesh_id(), wmtk::utils::TupleInspector::as_string(), wmtk::Mesh::create_const_accessor(), wmtk::Mesh::get_all(), wmtk::logger(), wmtk::multimesh::MultiMeshManager::m_children, m_mesh, wmtk::Mesh::m_multi_mesh_manager, wmtk::multimesh::utils::read_tuple_map_attribute(), and wmtk::simplex::top_dimension_cofaces_tuples().

Referenced by check_all(), wmtk::multimesh::utils::check_child_maps_valid(), and wmtk::multimesh::utils::check_parent_map_valid().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ check_child_switch_homomorphism()

bool wmtk::multimesh::utils::MapValidator::check_child_switch_homomorphism ( const Mesh child) const

Definition at line 139 of file MapValidator.cpp.

References wmtk::Mesh::absolute_multi_mesh_id(), wmtk::utils::TupleInspector::as_string(), wmtk::simplex::utils::SimplexComparisons::equal(), wmtk::Mesh::get_all(), wmtk::Mesh::id(), wmtk::Mesh::is_boundary(), wmtk::logger(), m_mesh, wmtk::Mesh::m_multi_mesh_manager, wmtk::multimesh::MultiMeshManager::m_parent, wmtk::Mesh::map_to_parent_tuple(), wmtk::utils::primitive_below(), wmtk::primitive_type_name(), wmtk::Mesh::switch_tuple(), wmtk::Mesh::top_cell_dimension(), and wmtk::Mesh::top_simplex_type().

Referenced by check_switch_homomorphism().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ check_parent_map_attribute_valid()

bool wmtk::multimesh::utils::MapValidator::check_parent_map_attribute_valid ( ) const

Definition at line 83 of file MapValidator.cpp.

References wmtk::Mesh::absolute_multi_mesh_id(), wmtk::utils::TupleInspector::as_string(), wmtk::Mesh::create_const_accessor(), wmtk::Mesh::get_all(), wmtk::logger(), m_mesh, wmtk::Mesh::m_multi_mesh_manager, wmtk::multimesh::MultiMeshManager::m_parent, wmtk::multimesh::MultiMeshManager::map_to_parent_handle, wmtk::multimesh::utils::read_tuple_map_attribute(), wmtk::Mesh::top_cell_dimension(), and wmtk::Mesh::top_simplex_type().

Referenced by check_all().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ check_switch_homomorphism()

bool wmtk::multimesh::utils::MapValidator::check_switch_homomorphism ( ) const

Definition at line 131 of file MapValidator.cpp.

References check_child_switch_homomorphism(), wmtk::Mesh::get_child_meshes(), and m_mesh.

Referenced by check_all().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ m_mesh

const Mesh& wmtk::multimesh::utils::MapValidator::m_mesh
private

The documentation for this class was generated from the following files: