Wildmeshing Toolkit
|
#include <AttributeTransferStrategy.hpp>
Public Types | |
template<typename T > | |
using | VecType = VectorX< T > |
template<typename T > | |
using | MatType = MatrixX< T > |
using | MyVecType = VecType< MyType > |
using | ParentMatType = MatType< ParentType > |
using | FunctorWithoutSimplicesType = std::function< MyVecType(const ParentMatType &)> |
using | FunctorType = std::function< MyVecType(const ParentMatType &, const std::vector< Tuple > &)> |
Static Public Member Functions | |
static FunctorType | make_nosimplices_func (FunctorWithoutSimplicesType &&fp) |
Static Public Member Functions inherited from wmtk::operations::AttributeTransferStrategyBase | |
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) |
Protected Member Functions | |
std::pair< ParentMatType, std::vector< Tuple > > | read_parent_values (const simplex::Simplex &my_simplex) const |
Private Attributes | |
FunctorType | m_functor |
attribute::MeshAttributeHandle | m_parent_handle |
MyType | The type to which transfer should go to. |
ParentType | The type that causes the change in MyType. |
Definition at line 29 of file AttributeTransferStrategy.hpp.
using wmtk::operations::SingleAttributeTransferStrategy< MyType, ParentType >::FunctorType = std::function<MyVecType(const ParentMatType&, const std::vector<Tuple>&)> |
Definition at line 51 of file AttributeTransferStrategy.hpp.
using wmtk::operations::SingleAttributeTransferStrategy< MyType, ParentType >::FunctorWithoutSimplicesType = std::function<MyVecType(const ParentMatType&)> |
Definition at line 50 of file AttributeTransferStrategy.hpp.
using wmtk::operations::SingleAttributeTransferStrategy< MyType, ParentType >::MatType = MatrixX<T> |
Definition at line 40 of file AttributeTransferStrategy.hpp.
using wmtk::operations::SingleAttributeTransferStrategy< MyType, ParentType >::MyVecType = VecType<MyType> |
Definition at line 41 of file AttributeTransferStrategy.hpp.
using wmtk::operations::SingleAttributeTransferStrategy< MyType, ParentType >::ParentMatType = MatType<ParentType> |
Definition at line 42 of file AttributeTransferStrategy.hpp.
using wmtk::operations::SingleAttributeTransferStrategy< MyType, ParentType >::VecType = VectorX<T> |
Definition at line 38 of file AttributeTransferStrategy.hpp.
wmtk::operations::SingleAttributeTransferStrategy< MyType, ParentType >::SingleAttributeTransferStrategy | ( | const attribute::MeshAttributeHandle & | my_handle, |
const attribute::MeshAttributeHandle & | parent_handle, | ||
FunctorType && | f = nullptr |
||
) |
Definition at line 102 of file AttributeTransferStrategy.hpp.
wmtk::operations::SingleAttributeTransferStrategy< MyType, ParentType >::SingleAttributeTransferStrategy | ( | const attribute::MeshAttributeHandle & | my_handle, |
const attribute::MeshAttributeHandle & | parent_handle, | ||
FunctorWithoutSimplicesType && | f = nullptr |
||
) |
Definition at line 114 of file AttributeTransferStrategy.hpp.
|
inlinestatic |
Definition at line 67 of file AttributeTransferStrategy.hpp.
PrimitiveType wmtk::operations::SingleAttributeTransferStrategy< MyType, ParentType >::parent_primitive_type |
Definition at line 158 of file AttributeTransferStrategy.hpp.
|
protected |
Definition at line 122 of file AttributeTransferStrategy.hpp.
References wmtk::operations::AttributeTransferStrategyBase::get_parent_simplices().
|
finaloverridevirtual |
Implements wmtk::operations::AttributeTransferStrategyBase.
Definition at line 141 of file AttributeTransferStrategy.hpp.
References wmtk::simplex::Simplex::primitive_type(), and wmtk::simplex::Simplex::tuple().
|
inlinefinaloverridevirtual |
Implements wmtk::operations::AttributeTransferEdge.
Definition at line 72 of file AttributeTransferStrategy.hpp.
References wmtk::operations::SingleAttributeTransferStrategy< MyType, ParentType >::m_parent_handle.
|
private |
Definition at line 83 of file AttributeTransferStrategy.hpp.
|
private |
Definition at line 84 of file AttributeTransferStrategy.hpp.
Referenced by wmtk::operations::SingleAttributeTransferStrategy< MyType, ParentType >::sources().