11 , m_in_simplex_type(in_simplex_type)
19 : m_container(container)
29 constexpr std::array<PrimitiveType, 3> pts = {
32 const Mesh& mesh = m_container.m_mesh;
39 for (int8_t i = pt_start; i < pt_end; ++i) {
44 if (m_t == simplex.
tuple()) {
53 return m_t != other.
m_t;
virtual Tuple switch_tuple(const Tuple &tuple, PrimitiveType type) const =0
switch the orientation of the Tuple of the given dimension
PrimitiveType top_simplex_type() const
Iterator(const CofacesInSimplexIterable &container, const Tuple &t=Tuple())
bool operator!=(const Iterator &other) const
const CofacesInSimplexIterable & m_container
Get all cofaces that are in a specific simplex type.
CofacesInSimplexIterable(const Mesh &mesh, const Simplex &simplex, const PrimitiveType in_simplex_type)
const PrimitiveType m_in_simplex_type
const Tuple & tuple() const
PrimitiveType primitive_type() const
constexpr int8_t get_primitive_type_id(PrimitiveType t)
Get a unique integer id corresponding to each primitive type.