|
IBAMR
IBAMR version 0.19.
|
#include <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 |
Private Attributes | |
| int | d_patch |
| int | d_number_patches |
| const tbox::Array< int > * | d_local_box_indices |
Class PatchLevelIterator<DIM> iterates over the locally owned patches of a patch level. This is consistent with the standard owner-computes rule. The iterator should be accessed via PatchLevel<DIM>::Iterator since the implementation may change to be a nested class in the future.
| SAMRAI::hier::PatchLevelIterator< DIM >::PatchLevelIterator | ( | ) |
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 | ) |
Const copy constructor for the iterator.
| SAMRAI::hier::PatchLevelIterator< DIM >::~PatchLevelIterator | ( | ) |
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 | ) |
Assignment operator for the iterator.
| int SAMRAI::hier::PatchLevelIterator< DIM >::operator* | ( | ) | const |
Extract the integer patch index corresponding to the current patch in the patch level.
| int SAMRAI::hier::PatchLevelIterator< DIM >::operator() | ( | ) | const |
Extract the integer patch index corresponding to the current patch in the patch level.
| SAMRAI::hier::PatchLevelIterator< DIM >::operator bool | ( | ) | const |
Return true if the iterator points to a valid patch on the level.
| SAMRAI::hier::PatchLevelIterator< DIM >::operator const void * | ( | ) | const |
Return non-NULL if the iterator points to a valid patch on the level.
| bool SAMRAI::hier::PatchLevelIterator< DIM >::operator! | ( | ) | const |
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 | ) |
Increment the iterator to point to the next patch in the level.
| bool SAMRAI::hier::PatchLevelIterator< DIM >::operator== | ( | const PatchLevelIterator< DIM > & | iterator | ) | const |
Test whether two patch level iterators point to the same patch index.
| bool SAMRAI::hier::PatchLevelIterator< DIM >::operator!= | ( | const PatchLevelIterator< DIM > & | iterator | ) | const |
Test whether two patch level iterators point to different patch indices.
|
private |
|
private |
|
private |
1.8.17