52 std::vector<wmtk::attribute::MeshAttributeHandle>
targets() const final
override
58 std::
string name() const final override;
67 wmtk::attribute::Accessor<T>& acc,
68 const
std::array<
Tuple, 2>& input_simplices,
69 const
Tuple& final_simplex) const;
wmtk::multimesh::operations::OperationInOutData OperationInOutData
virtual void update(Mesh &m, const ReturnData &ret_data, const OperationInOutData &tuples) const =0
wmtk::multimesh::operations::CollapseReturnData ReturnData
CollapseNewAttributeStrategy(const wmtk::attribute::MeshAttributeHandle &h)
std::string name() const final override
std::vector< wmtk::attribute::MeshAttributeHandle > targets() const final override
void update(Mesh &m, const ReturnData &ret_data, const OperationInOutData &tuples) const override
bool matches_attribute(const attribute::MeshAttributeHandle &) const override
std::unique_ptr< CollapseNewAttributeTopoInfo > m_topo_info
static CollapseFuncType standard_collapse_strategy(CollapseBasicStrategy optype)
wmtk::attribute::MeshAttributeHandle m_handle
void update_handle_mesh(Mesh &m) override
CollapseFuncType m_collapse_op
ReturnData::ReturnVariant ReturnVariant
std::function< VecType(const VecType &, const VecType &, const std::bitset< 2 > &)> CollapseFuncType
bool invalid_state() const final override
PrimitiveType primitive_type() const override
void set_strategy(CollapseFuncType &&f)
void assign_collapsed(wmtk::attribute::Accessor< T > &acc, const std::array< Tuple, 2 > &input_simplices, const Tuple &final_simplex) const
std::map< const Mesh *, std::vector< std::tuple< simplex::NavigatableSimplex, wmtk::Tuple > >> OperationInOutData
wmtk::utils::metaprogramming::ReferenceWrappedFunctorReturnCacheCustomComparator< wmtk::operations::utils::MultiMeshEdgeCollapseFunctor, wmtk::utils::metaprogramming::MeshVariantTraits, wmtk::simplex::utils::MeshSimplexComparator, simplex::NavigatableSimplex > CollapseReturnData
Vector< T, Eigen::Dynamic > VectorX