Wildmeshing Toolkit
wmtk::operations::BaseCollapseNewAttributeStrategy Class Referenceabstract

#include <CollapseNewAttributeStrategy.hpp>

Inheritance diagram for wmtk::operations::BaseCollapseNewAttributeStrategy:
[legend]
Collaboration diagram for wmtk::operations::BaseCollapseNewAttributeStrategy:
[legend]

Public Types

using ReturnData = wmtk::multimesh::operations::CollapseReturnData
 
using OperationInOutData = wmtk::multimesh::operations::OperationInOutData
 
- Public Types inherited from wmtk::operations::NewAttributeStrategy
using SimplexPredicateType = std::function< bool(const simplex::Simplex &)>
 

Public Member Functions

virtual void update (Mesh &m, const ReturnData &ret_data, const OperationInOutData &tuples) const =0
 
- Public Member Functions inherited from wmtk::operations::NewAttributeStrategy
virtual ~NewAttributeStrategy ()
 
virtual bool matches_attribute (const attribute::MeshAttributeHandle &) const =0
 
virtual void update_handle_mesh (Mesh &)=0
 
virtual PrimitiveType primitive_type () const =0
 
virtual Meshmesh ()=0
 
const Meshmesh () const
 
void set_simplex_predicate (SimplexPredicateType &&f)
 
void set_simplex_predicate (BasicSimplexPredicate f)
 
std::bitset< 2 > evaluate_predicate (PrimitiveType pt, const std::array< Tuple, 2 > &simplices) const
 
std::vector< wmtk::attribute::MeshAttributeHandlesources () const final override
 
virtual bool invalid_state () const =0
 
virtual std::string name () const =0
 
- Public Member Functions inherited from wmtk::operations::AttributeTransferEdge
virtual ~AttributeTransferEdge ()=0
 
virtual std::vector< wmtk::attribute::MeshAttributeHandletargets () const =0
 

Detailed Description

Definition at line 11 of file CollapseNewAttributeStrategy.hpp.

Member Typedef Documentation

◆ OperationInOutData

◆ ReturnData

Member Function Documentation

◆ update()

virtual void wmtk::operations::BaseCollapseNewAttributeStrategy::update ( Mesh m,
const ReturnData ret_data,
const OperationInOutData tuples 
) const
pure virtual

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