Wildmeshing Toolkit
wmtk::invariants::FrozenOppVertexInvariant Class Reference

#include <FrozenVertexInvariant.hpp>

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

Public Member Functions

 FrozenOppVertexInvariant (const Mesh &m, const TypedAttributeHandle< int64_t > &frozen_vertex_handle)
 
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 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 TypedAttributeHandle< int64_t > m_frozen_vertex_handle
 

Detailed Description

Definition at line 18 of file FrozenVertexInvariant.hpp.

Constructor & Destructor Documentation

◆ FrozenOppVertexInvariant()

wmtk::invariants::FrozenOppVertexInvariant::FrozenOppVertexInvariant ( const Mesh m,
const TypedAttributeHandle< int64_t > &  frozen_vertex_handle 
)

Definition at line 22 of file FrozenVertexInvariant.cpp.

Member Function Documentation

◆ before()

bool wmtk::invariants::FrozenOppVertexInvariant::before ( const simplex::Simplex t) const
overridevirtual

Reimplemented from wmtk::invariants::Invariant.

Definition at line 29 of file FrozenVertexInvariant.cpp.

References wmtk::Mesh::create_const_accessor(), wmtk::Edge, m_frozen_vertex_handle, wmtk::invariants::Invariant::mesh(), wmtk::simplex::Simplex::primitive_type(), wmtk::simplex::Simplex::tuple(), wmtk::Vertex, and wmtk::simplex::Simplex::vertex().

Here is the call graph for this function:

Member Data Documentation

◆ m_frozen_vertex_handle

const TypedAttributeHandle<int64_t> wmtk::invariants::FrozenOppVertexInvariant::m_frozen_vertex_handle
private

Definition at line 27 of file FrozenVertexInvariant.hpp.

Referenced by before().


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