Wildmeshing Toolkit
wmtk::multimesh::BoundaryChecker Class Reference

#include <BoundaryChecker.hpp>

Public Member Functions

 BoundaryChecker ()=default
 
 BoundaryChecker (const BoundaryChecker &)=default
 
 BoundaryChecker (BoundaryChecker &&)=default
 
BoundaryCheckeroperator= (const BoundaryChecker &)=default
 
BoundaryCheckeroperator= (BoundaryChecker &&)=default
 
template<typename... Args>
 BoundaryChecker (const Mesh &m, Args &&... args)
 
void add_mesh (const Mesh &m)
 
bool is_boundary (const Mesh &m, const wmtk::simplex::Simplex &simplex) const
 
bool is_boundary (const Mesh &m, const wmtk::PrimitiveType pt, const wmtk::Tuple &simplex) const
 

Static Public Member Functions

static BoundaryChecker for_all_meshes (const Mesh &m)
 

Private Attributes

std::vector< const Mesh * > m_meshes
 

Detailed Description

Definition at line 19 of file BoundaryChecker.hpp.

Constructor & Destructor Documentation

◆ BoundaryChecker() [1/4]

wmtk::multimesh::BoundaryChecker::BoundaryChecker ( )
default

◆ BoundaryChecker() [2/4]

wmtk::multimesh::BoundaryChecker::BoundaryChecker ( const BoundaryChecker )
default

◆ BoundaryChecker() [3/4]

wmtk::multimesh::BoundaryChecker::BoundaryChecker ( BoundaryChecker &&  )
default

◆ BoundaryChecker() [4/4]

template<typename... Args>
wmtk::multimesh::BoundaryChecker::BoundaryChecker ( const Mesh m,
Args &&...  args 
)

Definition at line 42 of file BoundaryChecker.hpp.

References m_meshes.

Member Function Documentation

◆ add_mesh()

void wmtk::multimesh::BoundaryChecker::add_mesh ( const Mesh m)

Definition at line 36 of file BoundaryChecker.cpp.

References m_meshes.

Referenced by wmtk::invariants::InteriorSimplexInvariant::add_boundary(), and for_all_meshes().

Here is the caller graph for this function:

◆ for_all_meshes()

BoundaryChecker wmtk::multimesh::BoundaryChecker::for_all_meshes ( const Mesh m)
static

Definition at line 41 of file BoundaryChecker.cpp.

References add_mesh(), wmtk::Mesh::get_all_child_meshes(), and wmtk::Mesh::get_multi_mesh_root().

Here is the call graph for this function:

◆ is_boundary() [1/2]

bool wmtk::multimesh::BoundaryChecker::is_boundary ( const Mesh m,
const wmtk::PrimitiveType  pt,
const wmtk::Tuple simplex 
) const

Definition at line 29 of file BoundaryChecker.cpp.

References is_boundary().

Here is the call graph for this function:

◆ is_boundary() [2/2]

bool wmtk::multimesh::BoundaryChecker::is_boundary ( const Mesh m,
const wmtk::simplex::Simplex simplex 
) const

Definition at line 4 of file BoundaryChecker.cpp.

References wmtk::Mesh::can_map(), wmtk::Mesh::is_boundary(), m_meshes, wmtk::Mesh::map_tuples(), wmtk::simplex::Simplex::primitive_type(), and wmtk::Mesh::top_cell_dimension().

Referenced by wmtk::invariants::InteriorSimplexInvariant::before(), and is_boundary().

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

◆ operator=() [1/2]

BoundaryChecker& wmtk::multimesh::BoundaryChecker::operator= ( BoundaryChecker &&  )
default

◆ operator=() [2/2]

BoundaryChecker& wmtk::multimesh::BoundaryChecker::operator= ( const BoundaryChecker )
default

Member Data Documentation

◆ m_meshes

std::vector<const Mesh*> wmtk::multimesh::BoundaryChecker::m_meshes
private

Definition at line 38 of file BoundaryChecker.hpp.

Referenced by add_mesh(), BoundaryChecker(), and is_boundary().


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