17 , m_it_end(m_tdc_itrbl.end())
21 : m_container(container)
22 , m_mesh(container.m_mesh)
23 , m_it(container.m_tdc_itrbl, t)
35 if (m_phase == IteratorPhase::Faces) {
41 m_phase = IteratorPhase::OpenStar;
56 default: assert(
false);
break;
67 return (m_t != other.
m_t) || (m_pt != other.
m_pt);
87 switch (m_face_counter) {
88 case 1: m_pt = 2;
return *
this;
116 if (m_it.is_intermediate() && m_face_counter == 3) {
126 switch (m_face_counter) {
127 case 1: m_pt = 2;
return *
this;
132 case 3: m_pt = 2;
return *
this;
133 case 4: m_pt = 3;
return *
this;
151 if (m_face_counter == 1) {
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
PrimitiveType top_simplex_type() const
bool is_null() const
Checks if a tuple is "null". This merely implies the global index is -1.
Iterator & step_tri_mesh()
Iterator & step_tet_mesh()
bool operator!=(const Iterator &other) const
Iterator(HalfClosedStarIterable &container, const Tuple &t=Tuple())
This iterator internally uses TopDimensionCofacesIterable.
HalfClosedStarIterable(const Mesh &mesh, const Tuple &tuple)
constexpr wmtk::PrimitiveType PF
constexpr PrimitiveType get_primitive_type_from_id(int8_t id)
Get the primitive type corresponding to its unique integer id.
constexpr PrimitiveType PV
constexpr PrimitiveType PE