Chombo + EB
3.2
|
Iterator over faces within an IntVectSet and an Ebgraph. More...
#include <FaceIterator.H>
Public Member Functions | |
FaceIterator (const IntVectSet &a_ivs, const EBGraph &a_ebgraph, int a_direction, const FaceStop::WhichFaces &a_location) | |
general construction More... | |
FaceIterator () | |
~FaceIterator () | |
Going with the default... More... | |
void | define (const IntVectSet &a_ivs, const EBGraph &a_ebgraph, int a_direction, const FaceStop::WhichFaces &a_location) |
void | reset () |
void | operator++ () |
const FaceIndex & | operator() () const |
bool | ok () const |
bool | isDefined () const |
const Vector< FaceIndex > & | getVector () const |
Private Member Functions | |
void | doDefine (const IntVectSet &a_ivs, const EBGraph &a_ebgraph, int a_direction, const FaceStop::WhichFaces &a_location) |
Private Attributes | |
bool | m_isDefined |
Vector< FaceIndex > | m_faces |
int | m_iface |
int | m_direction |
Iterator over faces within an IntVectSet and an Ebgraph.
Iterator over within an IntVectSet and an Ebgraph. The enumeration tells which faces on which to stop.
FaceIterator::FaceIterator | ( | const IntVectSet & | a_ivs, |
const EBGraph & | a_ebgraph, | ||
int | a_direction, | ||
const FaceStop::WhichFaces & | a_location | ||
) |
general construction
FaceIterator::FaceIterator | ( | ) |
FaceIterator::~FaceIterator | ( | ) |
Going with the default...
Going with the default...
void FaceIterator::define | ( | const IntVectSet & | a_ivs, |
const EBGraph & | a_ebgraph, | ||
int | a_direction, | ||
const FaceStop::WhichFaces & | a_location | ||
) |
void FaceIterator::reset | ( | ) |
Referenced by BaseIFFAB< FaceStencil >::copy().
void FaceIterator::operator++ | ( | ) |
const FaceIndex& FaceIterator::operator() | ( | ) | const |
bool FaceIterator::ok | ( | ) | const |
Referenced by BaseIFFAB< FaceStencil >::copy().
bool FaceIterator::isDefined | ( | ) | const |
|
private |
Does the real work. this->define() looks in the cache first.
|
private |
|
private |
|
private |