3#include <wmtk/attribute/SmartAttributeHandle.hpp>
9 using ReturnData = wmtk::multiesh::operations::CollapseReturnData;
15 const std::array<Tuple, 2>& input_simplices,
16 const Tuple& output_simplex)
const = 0;
20 const std::vector<Tuple>& output_simplex)
const;
30 std::vector<std::array<Tuple, 2>>
41 const Tuple& output_tuple,
52 const Tuple& input_tuple)
const;
56SmartAttributeHandle<T>
The Tuple is the basic navigation tool in our mesh data structure.
Tuple collapsed_edge(const ReturnData &ret_data, const Tuple &input_tuple) const
wmtk::multiesh::operations::CollapseReturnData ReturnData
std::vector< Tuple > removed_top_dimension_simplices(const ReturnData &ret_data, const Tuple &input_tuple) const
virtual const Mesh & mesh() const =0
virtual void update_neighboring_simplices(const ReturnData &ret_data, PrimitiveType pt, const std::vector< Tuple > &output_simplex) const
std::vector< Tuple > output_modified_simplices(const ReturnData &ret_data, const Tuple &output_tuple, const PrimitiveType pt) const
std::vector< std::array< Tuple, 2 > > merged_simplices(const ReturnData &ret_data, const Tuple &input_tuple, PrimitiveType pt) const
std::vector< Tuple > new_simplices(const ReturnData &ret_data, const Tuple &input_tuple, PrimitiveType pt) const
virtual void update_merged_simplices(const ReturnData &ret_data, PrimitiveType pt, const std::array< Tuple, 2 > &input_simplices, const Tuple &output_simplex) const =0