Chombo + EB  3.0
Public Member Functions | Private Attributes | List of all members
VoFIterator Class Reference

Iterator for all vofs within an IntVectSet and an Ebgraph. More...

#include <VoFIterator.H>

Public Member Functions

 VoFIterator (const IntVectSet &a_ivs, const EBGraph &a_ebgraph)
 
 VoFIterator ()
 
 ~VoFIterator ()
 
void define (const IntVectSet &a_ivs, const EBGraph &a_ebgraph)
 
void reset ()
 
void operator++ ()
 
const VolIndexoperator() () const
 
bool ok () const
 
bool isDefined () const
 
const Vector< VolIndexgetVector () const
 
int size () const
 

Private Attributes

bool m_isDefined
 
Vector< VolIndexm_vols
 
int m_ivol
 

Detailed Description

Iterator for all vofs within an IntVectSet and an Ebgraph.

Iterator for all vofs within an IntVectSet and an Ebgraph

Constructor & Destructor Documentation

◆ VoFIterator() [1/2]

VoFIterator::VoFIterator ( const IntVectSet a_ivs,
const EBGraph a_ebgraph 
)

◆ VoFIterator() [2/2]

VoFIterator::VoFIterator ( )

◆ ~VoFIterator()

VoFIterator::~VoFIterator ( )

Member Function Documentation

◆ define()

void VoFIterator::define ( const IntVectSet a_ivs,
const EBGraph a_ebgraph 
)

◆ reset()

void VoFIterator::reset ( )

◆ operator++()

void VoFIterator::operator++ ( )

◆ operator()()

const VolIndex& VoFIterator::operator() ( ) const

◆ ok()

bool VoFIterator::ok ( ) const

◆ isDefined()

bool VoFIterator::isDefined ( ) const

◆ getVector()

const Vector<VolIndex> VoFIterator::getVector ( ) const

◆ size()

int VoFIterator::size ( ) const
inline

References m_vols, and Vector< T >::size().

Member Data Documentation

◆ m_isDefined

bool VoFIterator::m_isDefined
private

◆ m_vols

Vector<VolIndex> VoFIterator::m_vols
private

Referenced by size().

◆ m_ivol

int VoFIterator::m_ivol
private

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