Wildmeshing Toolkit
wmtk::Swap56EnergyBeforeInvariantDouble Class Reference

#include <Swap56EnergyBeforeInvariantDouble.hpp>

Inheritance diagram for wmtk::Swap56EnergyBeforeInvariantDouble:
[legend]
Collaboration diagram for wmtk::Swap56EnergyBeforeInvariantDouble:
[legend]

Public Member Functions

 Swap56EnergyBeforeInvariantDouble (const Mesh &m, const attribute::TypedAttributeHandle< double > &coordinate, int64_t collapse_index, double eps=1.0001)
 
bool before (const simplex::Simplex &t) const override
 
 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

const attribute::TypedAttributeHandle< double > m_coordinate_handle
 
int64_t m_collapse_index
 
const double m_eps
 

Detailed Description

Definition at line 7 of file Swap56EnergyBeforeInvariantDouble.hpp.

Constructor & Destructor Documentation

◆ Swap56EnergyBeforeInvariantDouble()

wmtk::Swap56EnergyBeforeInvariantDouble::Swap56EnergyBeforeInvariantDouble ( const Mesh m,
const attribute::TypedAttributeHandle< double > &  coordinate,
int64_t  collapse_index,
double  eps = 1.0001 
)

Definition at line 8 of file Swap56EnergyBeforeInvariantDouble.cpp.

Member Function Documentation

◆ before()

bool wmtk::Swap56EnergyBeforeInvariantDouble::before ( const simplex::Simplex t) const
overridevirtual

◆ 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_collapse_index

int64_t wmtk::Swap56EnergyBeforeInvariantDouble::m_collapse_index
private

Definition at line 21 of file Swap56EnergyBeforeInvariantDouble.hpp.

Referenced by before().

◆ m_coordinate_handle

const attribute::TypedAttributeHandle<double> wmtk::Swap56EnergyBeforeInvariantDouble::m_coordinate_handle
private

Definition at line 20 of file Swap56EnergyBeforeInvariantDouble.hpp.

Referenced by before().

◆ m_eps

const double wmtk::Swap56EnergyBeforeInvariantDouble::m_eps
private

Definition at line 22 of file Swap56EnergyBeforeInvariantDouble.hpp.

Referenced by before().


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