Wildmeshing Toolkit
|
#include <MultiMeshTopologyInvariant.hpp>
Public Member Functions | |
MultiMeshEdgeTopologyInvariant (const Mesh &parent, const EdgeMesh &child) | |
bool | before (const simplex::Simplex &t) const override |
check if both the vertices are in the child mesh but the edge itself is not in the child mesh (return false if so) More... | |
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 | |
const Mesh & | m_child_mesh |
Definition at line 5 of file MultiMeshTopologyInvariant.hpp.
wmtk::MultiMeshEdgeTopologyInvariant::MultiMeshEdgeTopologyInvariant | ( | const Mesh & | parent, |
const EdgeMesh & | child | ||
) |
Definition at line 13 of file MultiMeshTopologyInvariant.cpp.
|
overridevirtual |
check if both the vertices are in the child mesh but the edge itself is not in the child mesh (return false if so)
t | edge tuple |
Reimplemented from wmtk::invariants::Invariant.
Definition at line 20 of file MultiMeshTopologyInvariant.cpp.
References wmtk::Edge, m_child_mesh, wmtk::invariants::Invariant::mesh(), wmtk::Mesh::switch_tuple(), wmtk::simplex::Simplex::tuple(), and wmtk::Vertex.
|
private |
Definition at line 21 of file MultiMeshTopologyInvariant.hpp.
Referenced by before().