Wildmeshing Toolkit
wmtk::invariants::FusionEdgeInvariant Class Reference

#include <FusionEdgeInvariant.hpp>

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

Public Member Functions

 FusionEdgeInvariant (const Mesh &position_mesh, const Mesh &periodic_mesh)
 
bool before (const simplex::Simplex &s) 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 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

const Meshm_periodic_mesh
 

Detailed Description

Definition at line 8 of file FusionEdgeInvariant.hpp.

Constructor & Destructor Documentation

◆ FusionEdgeInvariant()

wmtk::invariants::FusionEdgeInvariant::FusionEdgeInvariant ( const Mesh position_mesh,
const Mesh periodic_mesh 
)

Definition at line 6 of file FusionEdgeInvariant.cpp.

Member Function Documentation

◆ before()

bool wmtk::invariants::FusionEdgeInvariant::before ( const simplex::Simplex s) const
overridevirtual

Reimplemented from wmtk::invariants::Invariant.

Definition at line 11 of file FusionEdgeInvariant.cpp.

References wmtk::Edge, wmtk::Mesh::is_boundary(), m_periodic_mesh, wmtk::Mesh::map_to_child(), wmtk::Mesh::map_to_parent(), wmtk::invariants::Invariant::mesh(), wmtk::simplex::Simplex::tuple(), wmtk::Vertex, and wmtk::simplex::Simplex::vertex().

Here is the call graph for this function:

Member Data Documentation

◆ m_periodic_mesh

const Mesh& wmtk::invariants::FusionEdgeInvariant::m_periodic_mesh
private

Definition at line 16 of file FusionEdgeInvariant.hpp.

Referenced by before().


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