#include <DataIterator.H>
Public Member Functions | |
virtual | ~DataIterator () |
DataIterator () | |
DataIterator (const BoxLayout &a_layout) | |
const DataIndex & | operator() () const |
return the index that this iterator is at | |
DataIndex | i () const |
return a copy of the index that this iterator is at | |
int | size () const |
DataIndex | operator[] (int ivec) const |
void | clearTime () |
load balancing function. no-op in serial | |
void | clearPeak () |
load balancing function. no-op in serial | |
Vector< unsigned long long > | getTime () const |
load balancing function. no-op in serial | |
Vector< unsigned long long > | getPeak () const |
Vector< Box > | getBoxes () |
void | enableTime () |
load balancing function. no-op in serial | |
void | enablePeak () |
void | disableTime () |
load balancing function. no-op in serial | |
void | disablePeak () |
void | mergeTime () |
load balancing function. no-op in serial | |
void | mergePeak () |
Protected Member Functions | |
DataIterator (const BoxLayout &boxlayout, const int *layoutID) | |
Friends | |
class | BoxLayout |
class | DisjointBoxLayout |
class | TimedDataIterator |
virtual DataIterator::~DataIterator | ( | ) | [inline, virtual] |
DataIterator::DataIterator | ( | ) | [inline] |
DataIterator::DataIterator | ( | const BoxLayout & | a_layout | ) | [inline] |
References BoxLayout::dataIterator().
DataIterator::DataIterator | ( | const BoxLayout & | boxlayout, | |
const int * | layoutID | |||
) | [inline, protected] |
const DataIndex& DataIterator::operator() | ( | ) | const [inline] |
return the index that this iterator is at
Aborts if the iterator is not ok()
Reimplemented from LayoutIterator.
References LayoutIterator::operator()().
Referenced by i().
DataIndex DataIterator::i | ( | ) | const [inline] |
return a copy of the index that this iterator is at
Aborts if the iterator is not ok()
Reimplemented from LayoutIterator.
References operator()().
int DataIterator::size | ( | ) | const [inline] |
References LayoutIterator::m_layout, and BoxLayout::size().
Referenced by LayoutData< T >::allocate(), BoxLayoutData< T >::allocateGhostVector(), LevelData< T >::apply(), BoxLayoutData< T >::apply(), LevelDataOps< T >::axby(), LevelData< T >::copyTo(), LevelDataOps< T >::dotProduct(), LevelDataOps< T >::incr(), LevelData< T >::localCopyTo(), LevelDataOps< T >::mDotProduct(), LevelDataOps< T >::mult(), LevelDataOps< T >::plus(), PetscSolver< T >::putChomboInPetsc(), PetscSolver< T >::putPetscInChombo(), LevelDataOps< T >::scale(), LevelDataOps< T >::setToZero(), LevelDataOps< T >::setVal(), BoxLayoutData< T >::setVector(), PetscSolver< T >::solve_mfree_private(), PetscSolver< T >::solve_private(), and write().
DataIndex DataIterator::operator[] | ( | int | ivec | ) | const [inline] |
Reimplemented from LayoutIterator.
void DataIterator::clearTime | ( | ) | [inline] |
void DataIterator::clearPeak | ( | ) | [inline] |
load balancing function. no-op in serial
Vector<unsigned long long> DataIterator::getTime | ( | ) | const [inline] |
load balancing function. no-op in serial
Reimplemented in TimedDataIterator.
References LayoutIterator::m_layout, and BoxLayout::size().
Vector<unsigned long long> DataIterator::getPeak | ( | ) | const [inline] |
References LayoutIterator::m_layout, and BoxLayout::size().
void DataIterator::enableTime | ( | ) | [inline] |
void DataIterator::enablePeak | ( | ) | [inline] |
void DataIterator::disableTime | ( | ) | [inline] |
void DataIterator::disablePeak | ( | ) | [inline] |
void DataIterator::mergeTime | ( | ) | [inline] |
void DataIterator::mergePeak | ( | ) | [inline] |
friend class BoxLayout [friend] |
friend class DisjointBoxLayout [friend] |
friend class TimedDataIterator [friend] |
Reimplemented from LayoutIterator.