|
Chombo + EB
3.0
|
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 |
| 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.
| 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 EBFluxRegister::incrementCoarse(), EBFluxRegister::incrementCoarseIrregular(), EBFluxRegister::incrementCoarseRegular(), EBFluxRegister::incrementFine(), and BaseEBFaceFAB< Real >::setCoveredFaceVal().
|
private |
1.8.13