#include <FaceIterator.H>
Iterator over within an IntVectSet and an Ebgraph. The enumeration tells which faces on which to stop.
Public Member Functions | |
FaceIterator (FACEITER_CTOR_ARGS) | |
general construction | |
FaceIterator (const Box ®ion, const EBGraph &a_ebgraph, int a_direction, const FaceStop::WhichFaces &a_location) | |
specialized construction for most typical case: Irregular cells inside 'region' | |
FaceIterator () | |
~FaceIterator () | |
Going with the default... | |
void | define (FACEITER_CTOR_ARGS) |
void | reset () |
void | operator++ () |
const FaceIndex & | operator() () const |
bool | ok () const |
bool | isDefined () const |
const Vector< FaceIndex > & | getVector () const |
Private Member Functions | |
void | doDefine (FACEITER_CTOR_ARGS) |
Private Attributes | |
bool | m_isDefined |
Vector< FaceIndex > | m_faces |
int | m_iface |
int | m_direction |
FaceIterator::FaceIterator | ( | FACEITER_CTOR_ARGS | ) |
general construction
FaceIterator::FaceIterator | ( | const Box & | region, | |
const EBGraph & | a_ebgraph, | |||
int | a_direction, | |||
const FaceStop::WhichFaces & | a_location | |||
) |
specialized construction for most typical case: Irregular cells inside 'region'
FaceIterator::FaceIterator | ( | ) |
FaceIterator::~FaceIterator | ( | ) |
Going with the default...
Going with the default...
void FaceIterator::define | ( | FACEITER_CTOR_ARGS | ) |
Looks in cache first, unless optional arg is true. Delegates to this->doDefine() if FaceIterator not found in cache.
void FaceIterator::reset | ( | ) |
Referenced by MiniIFFAB< T >::copy(), and BaseIFFAB< T >::copy().
void FaceIterator::operator++ | ( | ) |
const FaceIndex& FaceIterator::operator() | ( | ) | const |
bool FaceIterator::ok | ( | ) | const |
Referenced by MiniIFFAB< T >::copy(), and BaseIFFAB< T >::copy().
bool FaceIterator::isDefined | ( | ) | const |
Referenced by MiniIFFAB< T >::define(), BaseIFFAB< T >::linearIn(), BaseIFFAB< T >::linearOut(), and BaseIFFAB< T >::size().
void FaceIterator::doDefine | ( | FACEITER_CTOR_ARGS | ) | [private] |
Enable or disable FaceIterator caching. Caching is enabled by default. Seems to break in parallel. Caveat emptor. Does the real work. this->define() looks in the cache first.
bool FaceIterator::m_isDefined [private] |
Vector<FaceIndex> FaceIterator::m_faces [private] |
int FaceIterator::m_iface [private] |
int FaceIterator::m_direction [private] |