9 std::vector<Tuple> ret;
34 default: assert(
false);
break;
Tuple switch_tuples(const Tuple &tuple, const ContainerType &op_sequence) const
virtual Tuple switch_tuple(const Tuple &tuple, PrimitiveType type) const =0
switch the orientation of the Tuple of the given dimension
void sort_and_clean()
Sort simplex vector and remove duplicates.
const Tuple & tuple() const
PrimitiveType primitive_type() const
constexpr wmtk::PrimitiveType PT
constexpr wmtk::PrimitiveType PF
std::vector< Simplex > tuple_vector_to_homogeneous_simplex_vector(const Mesh &m, const std::vector< Tuple > &tups, PrimitiveType primitive)
std::vector< Tuple > boundary_tuples(const Mesh &m, const Tuple &t, PrimitiveType pt)
SimplexCollection boundary(const Mesh &mesh, const Simplex &simplex, const bool sort_and_clean)
Returns all boundary simplices of a simplex.
constexpr PrimitiveType get_primitive_type_from_id(int8_t id)
Get the primitive type corresponding to its unique integer id.
constexpr PrimitiveType PV
constexpr int8_t get_primitive_type_id(PrimitiveType t)
Get a unique integer id corresponding to each primitive type.
constexpr PrimitiveType PE