15 std::vector<PrimitiveType> switch_tuple_types =
20 std::vector<Tuple> intersection_tuples;
22 intersection_tuples.emplace_back(t_iter);
23 for (
size_t i = 1; i < switch_tuple_types.size() - 1; ++i) {
24 t_iter = mesh.
switch_tuple(t_iter, switch_tuple_types[i]);
26 }
while (t != t_iter);
28 return intersection_tuples;
virtual Tuple switch_tuple(const Tuple &tuple, PrimitiveType type) const =0
switch the orientation of the Tuple of the given dimension
std::vector< Tuple > tuples_preserving_primitive_types(const Mesh &mesh, const Tuple &t, const PrimitiveType simplex_ptype, const PrimitiveType face_ptype)
Compute all tuples that contain simplex(ptype1, t) and that are contained by simplex(ptype2,...
std::vector< PrimitiveType > primitive_range(PrimitiveType pt0, PrimitiveType pt1)