Wildmeshing Toolkit
wmtk::invariants::InteriorSimplexInvariant Class Reference

#include <InteriorSimplexInvariant.hpp>

Inheritance diagram for wmtk::invariants::InteriorSimplexInvariant:
[legend]
Collaboration diagram for wmtk::invariants::InteriorSimplexInvariant:
[legend]

Public Member Functions

 InteriorSimplexInvariant (const Mesh &m, PrimitiveType pt)
 
bool before (const simplex::Simplex &t) const override
 
void add_boundary (const Mesh &boundary_mesh)
 
 Invariant (const Mesh &m)
 
 Invariant (const Mesh &m, bool use_before, bool use_old_state_in_after, bool use_new_state_in_after)
 
- Public Member Functions inherited from wmtk::invariants::Invariant
virtual bool after (const std::vector< Tuple > &top_dimension_tuples_before, const std::vector< Tuple > &top_dimension_tuples_after) const
 
 Invariant (const Mesh &m)
 
 Invariant (const Mesh &m, bool use_before, bool use_old_state_in_after, bool use_new_state_in_after)
 
virtual ~Invariant ()
 
const Meshmesh () const
 
virtual bool directly_modified_after (const std::vector< simplex::Simplex > &simplices_before, const std::vector< simplex::Simplex > &simplices_after) const
 
bool use_before () const
 
bool use_after () const
 
bool use_old_state_in_after () const
 
bool use_new_state_in_after () const
 

Private Attributes

PrimitiveType m_primitive_type
 
multimesh::BoundaryChecker m_boundary_checker
 

Detailed Description

Definition at line 8 of file InteriorSimplexInvariant.hpp.

Constructor & Destructor Documentation

◆ InteriorSimplexInvariant()

wmtk::invariants::InteriorSimplexInvariant::InteriorSimplexInvariant ( const Mesh m,
PrimitiveType  pt 
)

Definition at line 6 of file InteriorSimplexInvariant.cpp.

Member Function Documentation

◆ add_boundary()

void wmtk::invariants::InteriorSimplexInvariant::add_boundary ( const Mesh boundary_mesh)

Definition at line 21 of file InteriorSimplexInvariant.cpp.

References wmtk::multimesh::BoundaryChecker::add_mesh(), and m_boundary_checker.

Here is the call graph for this function:

◆ before()

bool wmtk::invariants::InteriorSimplexInvariant::before ( const simplex::Simplex t) const
overridevirtual

Reimplemented from wmtk::invariants::Invariant.

Definition at line 12 of file InteriorSimplexInvariant.cpp.

References wmtk::multimesh::BoundaryChecker::is_boundary(), m_boundary_checker, m_primitive_type, wmtk::invariants::Invariant::mesh(), and wmtk::simplex::Simplex::tuple().

Here is the call graph for this function:

◆ Invariant() [1/2]

wmtk::invariants::Invariant::Invariant

Definition at line 23 of file Invariant.cpp.

◆ Invariant() [2/2]

wmtk::invariants::Invariant::Invariant

Definition at line 24 of file Invariant.cpp.

Member Data Documentation

◆ m_boundary_checker

multimesh::BoundaryChecker wmtk::invariants::InteriorSimplexInvariant::m_boundary_checker
private

Definition at line 19 of file InteriorSimplexInvariant.hpp.

Referenced by add_boundary(), and before().

◆ m_primitive_type

PrimitiveType wmtk::invariants::InteriorSimplexInvariant::m_primitive_type
private

Definition at line 18 of file InteriorSimplexInvariant.hpp.

Referenced by before().


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