Wildmeshing Toolkit
|
#include <FunctionInvariant.hpp>
Public Member Functions | |
FunctionInvariant (const PrimitiveType type, const std::shared_ptr< function::PerSimplexFunction > &func) | |
bool | after (const std::vector< Tuple > &top_dimension_tuples_before, const std::vector< Tuple > &top_dimension_tuples_after) const override |
Public Member Functions inherited from wmtk::invariants::Invariant | |
virtual bool | before (const simplex::Simplex &t) 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 Mesh & | mesh () 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 | |
std::shared_ptr< function::PerSimplexFunction > | m_func |
const PrimitiveType | m_type |
Definition at line 14 of file FunctionInvariant.hpp.
wmtk::invariants::FunctionInvariant::FunctionInvariant | ( | const PrimitiveType | type, |
const std::shared_ptr< function::PerSimplexFunction > & | func | ||
) |
Definition at line 8 of file FunctionInvariant.cpp.
|
overridevirtual |
Reimplemented from wmtk::invariants::Invariant.
Definition at line 16 of file FunctionInvariant.cpp.
References wmtk::invariants::Invariant::before(), m_func, m_type, wmtk::invariants::Invariant::mesh(), and wmtk::Mesh::parent_scope().
|
private |
Definition at line 26 of file FunctionInvariant.hpp.
Referenced by after().
|
private |
Definition at line 27 of file FunctionInvariant.hpp.
Referenced by after().