Wildmeshing Toolkit
wmtk::simplex::LinkIterable Class Reference

This iterator internally uses TopDimensionCofacesIterable. More...

#include <LinkIterable.hpp>

Collaboration diagram for wmtk::simplex::LinkIterable:
[legend]

Classes

class  Iterator
 

Public Member Functions

 LinkIterable (const Mesh &mesh, const Simplex &simplex)
 
Iterator begin ()
 
Iterator end ()
 

Private Attributes

const Meshm_mesh
 
const Simplex m_simplex
 
TopDimensionCofacesIterable m_tdc_itrbl
 
TopDimensionCofacesIterable::Iterator m_it_end
 
std::array< simplex::internal::VisitedArray< simplex::IdSimplex >, 2 > m_visited_link
 

Detailed Description

This iterator internally uses TopDimensionCofacesIterable.

The iteration for depths 0 to 2 are the same. For depth 3, the BFS is extended to find all link simplices within a single d-simplex.

Definition at line 19 of file LinkIterable.hpp.

Constructor & Destructor Documentation

◆ LinkIterable()

wmtk::simplex::LinkIterable::LinkIterable ( const Mesh mesh,
const Simplex simplex 
)

Definition at line 13 of file LinkIterable.cpp.

Member Function Documentation

◆ begin()

Iterator wmtk::simplex::LinkIterable::begin ( )
inline

Definition at line 63 of file LinkIterable.hpp.

References m_simplex, and wmtk::simplex::Simplex::tuple().

Here is the call graph for this function:

◆ end()

Iterator wmtk::simplex::LinkIterable::end ( )
inline

Definition at line 64 of file LinkIterable.hpp.

Member Data Documentation

◆ m_it_end

TopDimensionCofacesIterable::Iterator wmtk::simplex::LinkIterable::m_it_end
private

Definition at line 70 of file LinkIterable.hpp.

◆ m_mesh

const Mesh& wmtk::simplex::LinkIterable::m_mesh
private

Definition at line 67 of file LinkIterable.hpp.

Referenced by wmtk::simplex::LinkIterable::Iterator::Iterator().

◆ m_simplex

const Simplex wmtk::simplex::LinkIterable::m_simplex
private

Definition at line 68 of file LinkIterable.hpp.

Referenced by begin(), and wmtk::simplex::LinkIterable::Iterator::Iterator().

◆ m_tdc_itrbl

TopDimensionCofacesIterable wmtk::simplex::LinkIterable::m_tdc_itrbl
private

Definition at line 69 of file LinkIterable.hpp.

◆ m_visited_link

std::array<simplex::internal::VisitedArray<simplex::IdSimplex>, 2> wmtk::simplex::LinkIterable::m_visited_link
private

Definition at line 73 of file LinkIterable.hpp.


The documentation for this class was generated from the following files: