Wildmeshing Toolkit
wmtk::simplex::HalfClosedStarIterable Class Reference

This iterator internally uses TopDimensionCofacesIterable. More...

#include <HalfClosedStarIterable.hpp>

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

Classes

class  Iterator
 

Public Types

enum  IteratorPhase { Faces , OpenStar , Link }
 

Public Member Functions

 HalfClosedStarIterable (const Mesh &mesh, const Tuple &tuple)
 
Iterator begin ()
 
Iterator end ()
 

Private Attributes

const Meshm_mesh
 
const Tuple m_tuple
 
TopDimensionCofacesIterable m_tdc_itrbl
 
TopDimensionCofacesIterable::Iterator m_it_end
 
std::array< simplex::internal::VisitedArray< simplex::IdSimplex >, 2 > m_visited_cofaces
 
std::array< simplex::internal::VisitedArray< simplex::IdSimplex >, 2 > m_visited_link
 

Detailed Description

This iterator internally uses TopDimensionCofacesIterable.

The half closed star is used to determine the deleted simplices in an edge collapse.

The result is the same as computing the intersection of the open star of the vertex and the closed star of the edge that is represented by the tuple.

Definition at line 21 of file HalfClosedStarIterable.hpp.

Member Enumeration Documentation

◆ IteratorPhase

Enumerator
Faces 
OpenStar 
Link 

Definition at line 24 of file HalfClosedStarIterable.hpp.

Constructor & Destructor Documentation

◆ HalfClosedStarIterable()

wmtk::simplex::HalfClosedStarIterable::HalfClosedStarIterable ( const Mesh mesh,
const Tuple tuple 
)

Definition at line 13 of file HalfClosedStarIterable.cpp.

References wmtk::Edge.

Member Function Documentation

◆ begin()

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

Definition at line 55 of file HalfClosedStarIterable.hpp.

References m_tuple.

◆ end()

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

Definition at line 56 of file HalfClosedStarIterable.hpp.

Member Data Documentation

◆ m_it_end

TopDimensionCofacesIterable::Iterator wmtk::simplex::HalfClosedStarIterable::m_it_end
private

Definition at line 62 of file HalfClosedStarIterable.hpp.

◆ m_mesh

◆ m_tdc_itrbl

TopDimensionCofacesIterable wmtk::simplex::HalfClosedStarIterable::m_tdc_itrbl
private

Definition at line 61 of file HalfClosedStarIterable.hpp.

◆ m_tuple

const Tuple wmtk::simplex::HalfClosedStarIterable::m_tuple
private

Definition at line 60 of file HalfClosedStarIterable.hpp.

Referenced by begin().

◆ m_visited_cofaces

std::array<simplex::internal::VisitedArray<simplex::IdSimplex>, 2> wmtk::simplex::HalfClosedStarIterable::m_visited_cofaces
private

Definition at line 65 of file HalfClosedStarIterable.hpp.

◆ m_visited_link

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

Definition at line 67 of file HalfClosedStarIterable.hpp.


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