Wildmeshing Toolkit
|
for edge swap in tetmesh. More...
#include <EdgeValenceInvariant.hpp>
Public Member Functions | |
EdgeValenceInvariant (const Mesh &m, int64_t valence) | |
bool | before (const simplex::Simplex &t) const override |
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 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 | |
int64_t | m_valence |
for edge swap in tetmesh.
Checks that the valence of the edge is equal to the given valence.
Definition at line 12 of file EdgeValenceInvariant.hpp.
wmtk::invariants::EdgeValenceInvariant::EdgeValenceInvariant | ( | const Mesh & | m, |
int64_t | valence | ||
) |
Definition at line 6 of file EdgeValenceInvariant.cpp.
|
overridevirtual |
Reimplemented from wmtk::invariants::Invariant.
Definition at line 11 of file EdgeValenceInvariant.cpp.
References wmtk::Edge, m_valence, wmtk::invariants::Invariant::mesh(), wmtk::simplex::Simplex::primitive_type(), wmtk::simplex::top_dimension_cofaces_tuples(), and wmtk::simplex::Simplex::tuple().
|
private |
Definition at line 20 of file EdgeValenceInvariant.hpp.
Referenced by before().