Chombo + EB
3.2
|
Iterator for low and high side. More...
#include <LoHiSide.H>
Public Member Functions | |
SideIterator () | |
~SideIterator () | |
Modification functions | |
void | begin () |
void | reset () |
void | next () |
void | operator++ () |
Access functions | |
int | m_current |
CH_XD::Side::LoHiSide | operator() () const |
bool | ok () const |
Iterator for low and high side.
SideIterator iterates over the values Side::Lo and Side::Hi. There are no adjustable parameters whatsoever.
SideIterator::SideIterator | ( | ) |
Default, and only, constructor.
|
inline |
Default destructor.
void SideIterator::begin | ( | ) |
Set the iterator to the first side.
|
inline |
Set the iterator to the first side.
void SideIterator::next | ( | ) |
Advance the iterator to the next face.
void SideIterator::operator++ | ( | ) |
Advance the iterator to the next face.
CH_XD::Side::LoHiSide SideIterator::operator() | ( | ) | const |
Returns the value of the side for the current iteration.
bool SideIterator::ok | ( | ) | const |
Returns true
if there is a next side, false
if not.
Referenced by NeumannConductivityDomainBC::fillPhiGhost(), DirichletConductivityDomainBC::fillPhiGhost(), NeumannViscousTensorDomainBC::fillVelGhost(), DirichletViscousTensorDomainBC::fillVelGhost(), MixedViscousTensorDomainBC::fillVelGhost(), EBFluxRegister::incrementCoarse(), EBFluxRegister::incrementCoarseIrregular(), EBFluxRegister::incrementCoarseRegular(), EBFluxRegister::incrementFine(), and BaseEBFaceFAB< Real >::setCoveredFaceVal().
|
private |