#include <source/hierarchy/patches/PatchLevel.h>
Public Member Functions | |
PatchLevelIterator () | |
PatchLevelIterator (const PatchLevel< DIM > &pl) | |
PatchLevelIterator (const PatchLevel< DIM > *pl) | |
PatchLevelIterator (const PatchLevelIterator< DIM > &iterator) | |
void | initialize (const PatchLevel< DIM > &pl) |
void | initialize (const PatchLevel< DIM > *pl) |
PatchLevelIterator< DIM > & | operator= (const PatchLevelIterator< DIM > &iterator) |
~PatchLevelIterator () | |
int | operator * () const |
int | operator() () const |
operator bool () const | |
operator const void * () const | |
bool | operator! () const |
void | operator++ (int) |
bool | operator== (const PatchLevelIterator< DIM > &iterator) const |
bool | operator!= (const PatchLevelIterator< DIM > &iterator) const |
SAMRAI::hier::PatchLevelIterator< DIM >::PatchLevelIterator | ( | ) | [inline] |
Default constructor for the patch iterator. This iterator must be initialized before it can be used to iterate over the patches.
SAMRAI::hier::PatchLevelIterator< DIM >::PatchLevelIterator | ( | const PatchLevel< DIM > & | pl | ) |
Constructor for the patch level iterator. The iterator will enumerate the local patches in the patch level belonging to the local processor.
SAMRAI::hier::PatchLevelIterator< DIM >::PatchLevelIterator | ( | const PatchLevel< DIM > * | pl | ) |
Constructor for the patch level iterator. The iterator will enumerate the local patches in the patch level belonging to the local processor.
SAMRAI::hier::PatchLevelIterator< DIM >::PatchLevelIterator | ( | const PatchLevelIterator< DIM > & | iterator | ) | [inline] |
Const copy constructor for the iterator.
SAMRAI::hier::PatchLevelIterator< DIM >::~PatchLevelIterator | ( | ) | [inline] |
Destructor for the patch level iterator.
void SAMRAI::hier::PatchLevelIterator< DIM >::initialize | ( | const PatchLevel< DIM > & | pl | ) |
Initializer for the patch level iterator. The iterator will enumerate the local patches in the patch level belonging to the local processor.
void SAMRAI::hier::PatchLevelIterator< DIM >::initialize | ( | const PatchLevel< DIM > * | pl | ) |
Initializer for the patch level iterator. The iterator will enumerate the local patches in the patch level belonging to the local processor.
PatchLevelIterator< DIM > & SAMRAI::hier::PatchLevelIterator< DIM >::operator= | ( | const PatchLevelIterator< DIM > & | iterator | ) | [inline] |
Assignment operator for the iterator.
int SAMRAI::hier::PatchLevelIterator< DIM >::operator * | ( | ) | const [inline] |
Extract the integer patch index corresponding to the current patch in the patch level.
int SAMRAI::hier::PatchLevelIterator< DIM >::operator() | ( | ) | const [inline] |
Extract the integer patch index corresponding to the current patch in the patch level.
SAMRAI::hier::PatchLevelIterator< DIM >::operator bool | ( | ) | const [inline] |
Return true if the iterator points to a valid patch on the level.
SAMRAI::hier::PatchLevelIterator< DIM >::operator const void * | ( | ) | const [inline] |
Return non-NULL if the iterator points to a valid patch on the level.
bool SAMRAI::hier::PatchLevelIterator< DIM >::operator! | ( | ) | const [inline] |
Return whether the iterator points to a valid patch in the level. This operator mimics the !p operation applied to a pointer p.
void SAMRAI::hier::PatchLevelIterator< DIM >::operator++ | ( | int | ) | [inline] |
Increment the iterator to point to the next patch in the level.
bool SAMRAI::hier::PatchLevelIterator< DIM >::operator== | ( | const PatchLevelIterator< DIM > & | iterator | ) | const [inline] |
Test whether two patch level iterators point to the same patch index.
bool SAMRAI::hier::PatchLevelIterator< DIM >::operator!= | ( | const PatchLevelIterator< DIM > & | iterator | ) | const [inline] |
Test whether two patch level iterators point to different patch indices.