Wildmeshing Toolkit
|
#include <CollapseNewAttributeStrategy.hpp>
Public Types | |
using | ReturnData = BaseCollapseNewAttributeStrategy::ReturnData |
using | OperationInOutData = BaseCollapseNewAttributeStrategy::OperationInOutData |
using | ReturnVariant = ReturnData::ReturnVariant |
using | VecType = VectorX< T > |
using | CollapseFuncType = std::function< VecType(const VecType &, const VecType &, const std::bitset< 2 > &)> |
Public Types inherited from wmtk::operations::BaseCollapseNewAttributeStrategy | |
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 &)> |
Private Member Functions | |
void | assign_collapsed (wmtk::attribute::Accessor< T > &acc, const std::array< Tuple, 2 > &input_simplices, const Tuple &final_simplex) const |
CollapseNewAttributeStrategy< Rational >::CollapseFuncType | standard_collapse_strategy (CollapseBasicStrategy optype) |
Static Private Member Functions | |
static CollapseFuncType | standard_collapse_strategy (CollapseBasicStrategy optype) |
Private Attributes | |
wmtk::attribute::MeshAttributeHandle | m_handle |
CollapseFuncType | m_collapse_op |
bool | m_will_throw = false |
std::unique_ptr< CollapseNewAttributeTopoInfo > | m_topo_info |
Definition at line 23 of file CollapseNewAttributeStrategy.hpp.
using wmtk::operations::CollapseNewAttributeStrategy< T >::CollapseFuncType = std::function<VecType(const VecType&, const VecType&, const std::bitset<2>&)> |
Definition at line 34 of file CollapseNewAttributeStrategy.hpp.
using wmtk::operations::CollapseNewAttributeStrategy< T >::OperationInOutData = BaseCollapseNewAttributeStrategy::OperationInOutData |
Definition at line 27 of file CollapseNewAttributeStrategy.hpp.
using wmtk::operations::CollapseNewAttributeStrategy< T >::ReturnData = BaseCollapseNewAttributeStrategy::ReturnData |
Definition at line 26 of file CollapseNewAttributeStrategy.hpp.
using wmtk::operations::CollapseNewAttributeStrategy< T >::ReturnVariant = ReturnData::ReturnVariant |
Definition at line 28 of file CollapseNewAttributeStrategy.hpp.
using wmtk::operations::CollapseNewAttributeStrategy< T >::VecType = VectorX<T> |
Definition at line 30 of file CollapseNewAttributeStrategy.hpp.
wmtk::operations::CollapseNewAttributeStrategy< T >::CollapseNewAttributeStrategy | ( | const wmtk::attribute::MeshAttributeHandle & | h | ) |
Definition at line 115 of file CollapseNewAttributeStrategy.cpp.
References wmtk::Edge, wmtk::attribute::MeshAttributeHandle::holds(), wmtk::Mesh::is_free(), wmtk::operations::CollapseNewAttributeStrategy< T >::m_handle, wmtk::operations::CollapseNewAttributeStrategy< T >::m_topo_info, wmtk::attribute::MeshAttributeHandle::mesh(), wmtk::operations::CollapseNewAttributeStrategy< T >::mesh(), wmtk::operations::None, wmtk::operations::CollapseNewAttributeStrategy< T >::set_strategy(), wmtk::Tetrahedron, wmtk::operations::Throw, wmtk::Mesh::top_simplex_type(), and wmtk::Triangle.
|
private |
Definition at line 187 of file CollapseNewAttributeStrategy.cpp.
References wmtk::attribute::Accessor< T, MeshType, Dim >::const_vector_attribute(), wmtk::attribute::Accessor< T, MeshType, Dim >::primitive_type(), and wmtk::attribute::Accessor< T, MeshType, Dim >::vector_attribute().
|
finaloverridevirtual |
Implements wmtk::operations::NewAttributeStrategy.
Definition at line 11 of file CollapseNewAttributeStrategy.cpp.
|
overridevirtual |
Implements wmtk::operations::NewAttributeStrategy.
Definition at line 243 of file CollapseNewAttributeStrategy.cpp.
|
virtual |
Implements wmtk::operations::NewAttributeStrategy.
Definition at line 34 of file NewAttributeStrategy.cpp.
|
overridevirtual |
Implements wmtk::operations::NewAttributeStrategy.
Definition at line 228 of file CollapseNewAttributeStrategy.cpp.
Referenced by wmtk::operations::CollapseNewAttributeStrategy< T >::CollapseNewAttributeStrategy().
|
virtual |
Implements wmtk::operations::NewAttributeStrategy.
|
finaloverridevirtual |
Implements wmtk::operations::NewAttributeStrategy.
Definition at line 16 of file CollapseNewAttributeStrategy.cpp.
|
overridevirtual |
Implements wmtk::operations::NewAttributeStrategy.
Definition at line 233 of file CollapseNewAttributeStrategy.cpp.
void wmtk::operations::CollapseNewAttributeStrategy< T >::set_strategy | ( | CollapseBasicStrategy | t | ) |
Definition at line 220 of file CollapseNewAttributeStrategy.cpp.
References wmtk::operations::Throw.
void wmtk::operations::CollapseNewAttributeStrategy< T >::set_strategy | ( | CollapseFuncType && | f | ) |
Definition at line 214 of file CollapseNewAttributeStrategy.cpp.
Referenced by wmtk::operations::CollapseNewAttributeStrategy< T >::CollapseNewAttributeStrategy().
|
private |
Definition at line 71 of file CollapseNewAttributeStrategy.cpp.
References wmtk::operations::CopyOther, wmtk::operations::CopyTuple, wmtk::operations::Default, wmtk::operations::Mean, wmtk::operations::None, and wmtk::operations::Throw.
|
staticprivate |
Definition at line 23 of file CollapseNewAttributeStrategy.cpp.
References wmtk::operations::CopyOther, wmtk::operations::CopyTuple, wmtk::operations::Default, wmtk::operations::Mean, wmtk::operations::None, and wmtk::operations::Throw.
|
inlinefinaloverridevirtual |
Implements wmtk::operations::AttributeTransferEdge.
Definition at line 52 of file CollapseNewAttributeStrategy.hpp.
References wmtk::operations::CollapseNewAttributeStrategy< T >::m_handle.
|
overridevirtual |
Implements wmtk::operations::BaseCollapseNewAttributeStrategy.
Definition at line 144 of file CollapseNewAttributeStrategy.cpp.
References wmtk::Mesh::create_accessor(), and wmtk::simplex::NavigatableSimplex::tuple().
|
overridevirtual |
Implements wmtk::operations::NewAttributeStrategy.
Definition at line 238 of file CollapseNewAttributeStrategy.cpp.
|
private |
Definition at line 62 of file CollapseNewAttributeStrategy.hpp.
|
private |
Definition at line 61 of file CollapseNewAttributeStrategy.hpp.
Referenced by wmtk::operations::CollapseNewAttributeStrategy< T >::CollapseNewAttributeStrategy(), and wmtk::operations::CollapseNewAttributeStrategy< T >::targets().
|
private |
Definition at line 64 of file CollapseNewAttributeStrategy.hpp.
Referenced by wmtk::operations::CollapseNewAttributeStrategy< T >::CollapseNewAttributeStrategy().
|
private |
Definition at line 63 of file CollapseNewAttributeStrategy.hpp.