Wildmeshing Toolkit
wmtk::simplex::CofacesSingleDimensionIterable Class Reference

This iterator internally uses TopDimensionCofacesIterable. More...

#include <CofacesSingleDimensionIterable.hpp>

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

Classes

class  Iterator
 

Public Member Functions

 CofacesSingleDimensionIterable (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_cofaces_type
 
TopDimensionCofacesIterable m_tdc_itrbl
 
TopDimensionCofacesIterable::Iterator m_it_end
 
simplex::internal::VisitedArray< simplex::IdSimplexm_visited_cofaces
 

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 CofacesSingleDimensionIterable.hpp.

Constructor & Destructor Documentation

◆ CofacesSingleDimensionIterable()

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

Definition at line 10 of file CofacesSingleDimensionIterable.cpp.

References wmtk::simplex::Simplex::primitive_type().

Here is the call graph for this function:

Member Function Documentation

◆ begin()

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

Definition at line 70 of file CofacesSingleDimensionIterable.hpp.

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

Here is the call graph for this function:

◆ end()

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

Definition at line 71 of file CofacesSingleDimensionIterable.hpp.

Member Data Documentation

◆ m_cofaces_type

const PrimitiveType wmtk::simplex::CofacesSingleDimensionIterable::m_cofaces_type
private

Definition at line 76 of file CofacesSingleDimensionIterable.hpp.

◆ m_it_end

TopDimensionCofacesIterable::Iterator wmtk::simplex::CofacesSingleDimensionIterable::m_it_end
private

Definition at line 78 of file CofacesSingleDimensionIterable.hpp.

◆ m_mesh

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

Definition at line 74 of file CofacesSingleDimensionIterable.hpp.

◆ m_simplex

const Simplex wmtk::simplex::CofacesSingleDimensionIterable::m_simplex
private

Definition at line 75 of file CofacesSingleDimensionIterable.hpp.

Referenced by begin().

◆ m_tdc_itrbl

TopDimensionCofacesIterable wmtk::simplex::CofacesSingleDimensionIterable::m_tdc_itrbl
private

Definition at line 77 of file CofacesSingleDimensionIterable.hpp.

◆ m_visited_cofaces

simplex::internal::VisitedArray<simplex::IdSimplex> wmtk::simplex::CofacesSingleDimensionIterable::m_visited_cofaces
private

Definition at line 80 of file CofacesSingleDimensionIterable.hpp.


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