Wildmeshing Toolkit
wmtk::invariants::EnvelopeInvariant Class Reference

#include <EnvelopeInvariant.hpp>

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

Public Member Functions

 EnvelopeInvariant (const attribute::MeshAttributeHandle &envelope_mesh_coordinate, double envelope_size, const attribute::MeshAttributeHandle &coordinate)
 
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 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

std::shared_ptr< fastEnvelope::FastEnvelope > m_envelope = nullptr
 
std::shared_ptr< SimpleBVH::BVH > m_bvh = nullptr
 
const attribute::MeshAttributeHandle m_coordinate_handle
 
const double m_envelope_size
 

Detailed Description

Definition at line 19 of file EnvelopeInvariant.hpp.

Constructor & Destructor Documentation

◆ EnvelopeInvariant()

wmtk::invariants::EnvelopeInvariant::EnvelopeInvariant ( const attribute::MeshAttributeHandle envelope_mesh_coordinate,
double  envelope_size,
const attribute::MeshAttributeHandle coordinate 
)

Member Function Documentation

◆ after()

bool wmtk::invariants::EnvelopeInvariant::after ( const std::vector< Tuple > &  top_dimension_tuples_before,
const std::vector< Tuple > &  top_dimension_tuples_after 
) const
overridevirtual

Member Data Documentation

◆ m_bvh

std::shared_ptr<SimpleBVH::BVH> wmtk::invariants::EnvelopeInvariant::m_bvh = nullptr
private

Definition at line 33 of file EnvelopeInvariant.hpp.

Referenced by after(), and EnvelopeInvariant().

◆ m_coordinate_handle

const attribute::MeshAttributeHandle wmtk::invariants::EnvelopeInvariant::m_coordinate_handle
private

Definition at line 34 of file EnvelopeInvariant.hpp.

Referenced by after().

◆ m_envelope

std::shared_ptr<fastEnvelope::FastEnvelope> wmtk::invariants::EnvelopeInvariant::m_envelope = nullptr
private

Definition at line 32 of file EnvelopeInvariant.hpp.

Referenced by after(), and EnvelopeInvariant().

◆ m_envelope_size

const double wmtk::invariants::EnvelopeInvariant::m_envelope_size
private

Definition at line 36 of file EnvelopeInvariant.hpp.

Referenced by after().


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