bool operator!=(const Iterator &other) const
Iterator & step_depth_3()
Use breadth first search to find all d-simplices, and iterate through all cofaces in a d-simplex.
TopDimensionCofacesIterable::Iterator m_it
void init()
Depending on the depth, the iterator must be initialized differently.
Iterator(LinkSingleDimensionIterable &container, const Tuple &t=Tuple())
bool is_link_d1()
Check if coface type is the mesh's top simplex type.
LinkSingleDimensionIterable & m_container
int64_t depth()
Compute the depth from the mesh and the simplex type.
Tuple navigate_to_link(Tuple t)
This iterator internally uses TopDimensionCofacesIterable.
LinkSingleDimensionIterable(const Mesh &mesh, const Simplex &simplex, const PrimitiveType cofaces_type)
TopDimensionCofacesIterable m_tdc_itrbl
simplex::internal::VisitedArray< simplex::IdSimplex > m_visited_link
const PrimitiveType m_link_type
TopDimensionCofacesIterable::Iterator m_it_end
const Tuple & tuple() const
Iterating through the d-simplices of a mesh can be done in different ways, depending on the simplex d...