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