Wildmeshing Toolkit
wmtk::simplex::LinkSingleDimensionIterable Class Reference

This iterator internally uses TopDimensionCofacesIterable. More...

#include <LinkSingleDimensionIterable.hpp>

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

Classes

class  Iterator
 

Public Member Functions

 LinkSingleDimensionIterable (const Mesh &mesh, const Simplex &simplex, const PrimitiveType cofaces_type)
 
Iterator begin ()
 
Iterator end ()
 

Private Attributes

const Meshm_mesh
 
const Simplex m_simplex
 
const PrimitiveType m_link_type
 
TopDimensionCofacesIterable m_tdc_itrbl
 
TopDimensionCofacesIterable::Iterator m_it_end
 
simplex::internal::VisitedArray< simplex::IdSimplexm_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 cofaces within a single d-simplex.

In depth 2, we need the iterator in the intermediate phase.

Definition at line 23 of file LinkSingleDimensionIterable.hpp.

Constructor & Destructor Documentation

◆ LinkSingleDimensionIterable()

wmtk::simplex::LinkSingleDimensionIterable::LinkSingleDimensionIterable ( const Mesh mesh,
const Simplex simplex,
const PrimitiveType  cofaces_type 
)

Definition at line 13 of file LinkSingleDimensionIterable.cpp.

References wmtk::Vertex.

Member Function Documentation

◆ begin()

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

Definition at line 73 of file LinkSingleDimensionIterable.hpp.

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

Here is the call graph for this function:

◆ end()

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

Definition at line 74 of file LinkSingleDimensionIterable.hpp.

Member Data Documentation

◆ m_it_end

TopDimensionCofacesIterable::Iterator wmtk::simplex::LinkSingleDimensionIterable::m_it_end
private

Definition at line 81 of file LinkSingleDimensionIterable.hpp.

◆ m_link_type

const PrimitiveType wmtk::simplex::LinkSingleDimensionIterable::m_link_type
private

◆ m_mesh

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

◆ m_simplex

const Simplex wmtk::simplex::LinkSingleDimensionIterable::m_simplex
private

◆ m_tdc_itrbl

TopDimensionCofacesIterable wmtk::simplex::LinkSingleDimensionIterable::m_tdc_itrbl
private

Definition at line 80 of file LinkSingleDimensionIterable.hpp.

◆ m_visited_link

simplex::internal::VisitedArray<simplex::IdSimplex> wmtk::simplex::LinkSingleDimensionIterable::m_visited_link
private

Definition at line 83 of file LinkSingleDimensionIterable.hpp.


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