Wildmeshing Toolkit
|
#include <AttributeTransferStrategyBase.hpp>
Public Member Functions | |
AttributeTransferStrategyBase (const attribute::MeshAttributeHandle &my_handle) | |
virtual | ~AttributeTransferStrategyBase () |
const attribute::MeshAttributeHandle & | handle () const |
attribute::MeshAttributeHandle & | handle () |
std::vector< wmtk::attribute::MeshAttributeHandle > | targets () const final override |
bool | matches_attribute (const wmtk::attribute::MeshAttributeHandle &attr) const |
virtual void | run (const simplex::Simplex &s) const =0 |
virtual PrimitiveType | primitive_type () const =0 |
virtual Mesh & | mesh ()=0 |
const Mesh & | mesh () const |
void | run_on_all () const |
Public Member Functions inherited from wmtk::operations::AttributeTransferEdge | |
virtual | ~AttributeTransferEdge ()=0 |
virtual std::vector< wmtk::attribute::MeshAttributeHandle > | sources () const =0 |
Static Public Member Functions | |
static std::vector< Tuple > | get_parent_simplices (const Mesh &m, const Mesh &parent, const simplex::Simplex &s, PrimitiveType parent_primitive_type) |
static std::vector< Tuple > | get_parent_simplices (const attribute::MeshAttributeHandle &me, const attribute::MeshAttributeHandle &parent, const simplex::Simplex &s) |
Private Attributes | |
attribute::MeshAttributeHandle | m_handle |
Definition at line 21 of file AttributeTransferStrategyBase.hpp.
wmtk::operations::AttributeTransferStrategyBase::AttributeTransferStrategyBase | ( | const attribute::MeshAttributeHandle & | my_handle | ) |
Definition at line 9 of file AttributeTransferStrategyBase.cpp.
|
virtualdefault |
|
static |
Definition at line 29 of file AttributeTransferStrategyBase.cpp.
References get_parent_simplices(), wmtk::attribute::MeshAttributeHandle::mesh(), and wmtk::attribute::MeshAttributeHandle::primitive_type().
|
static |
Definition at line 37 of file AttributeTransferStrategyBase.cpp.
References wmtk::Mesh::lub_map_tuples(), wmtk::simplex::neighbors_single_dimension_tuples(), wmtk::simplex::Simplex::primitive_type(), and wmtk::simplex::utils::unique_homogeneous_simplices_inline().
Referenced by get_parent_simplices(), and wmtk::operations::SingleAttributeTransferStrategy< MyType, ParentType >::read_parent_values().
|
inline |
Definition at line 50 of file AttributeTransferStrategyBase.hpp.
References m_handle.
|
inline |
Definition at line 49 of file AttributeTransferStrategyBase.hpp.
References m_handle.
Referenced by matches_attribute(), and targets().
bool wmtk::operations::AttributeTransferStrategyBase::matches_attribute | ( | const wmtk::attribute::MeshAttributeHandle & | attr | ) | const |
Definition at line 74 of file AttributeTransferStrategyBase.cpp.
References handle().
const Mesh & wmtk::operations::AttributeTransferStrategyBase::mesh | ( | ) | const |
Definition at line 14 of file AttributeTransferStrategyBase.cpp.
References mesh().
|
pure virtual |
Implemented in wmtk::operations::AttributeTransferStrategy< MyType >, wmtk::operations::AttributeTransferStrategy< MyType >, and wmtk::operations::AttributeTransferStrategy< MyType >.
Referenced by mesh().
|
pure virtual |
Implemented in wmtk::operations::AttributeTransferStrategy< MyType >.
|
pure virtual |
Implemented in wmtk::operations::SingleAttributeTransferStrategy< MyType, ParentType >.
Referenced by run_on_all().
void wmtk::operations::AttributeTransferStrategyBase::run_on_all | ( | ) | const |
Definition at line 19 of file AttributeTransferStrategyBase.cpp.
References wmtk::Mesh::get_all(), m_handle, wmtk::attribute::MeshAttributeHandle::mesh(), wmtk::attribute::MeshAttributeHandle::primitive_type(), and run().
Referenced by wmtk::utils::cast_attribute(), wmtk::components::multimesh::multimesh(), and wmtk::components::triangle_insertion::triangle_insertion().
|
inlinefinaloverridevirtual |
Implements wmtk::operations::AttributeTransferEdge.
Definition at line 52 of file AttributeTransferStrategyBase.hpp.
References handle().
|
private |
Definition at line 77 of file AttributeTransferStrategyBase.hpp.
Referenced by handle(), and run_on_all().