DataIterator Class Reference

#include <DataIterator.H>

Inheritance diagram for DataIterator:

Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~DataIterator ()
 DataIterator ()
 DataIterator (const BoxLayout &a_layout)
const DataIndexoperator() () 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< BoxgetBoxes ()
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


Constructor & Destructor Documentation

virtual DataIterator::~DataIterator (  )  [inline, virtual]

DataIterator::DataIterator (  )  [inline]

DataIterator::DataIterator ( const BoxLayout a_layout  )  [inline]

DataIterator::DataIterator ( const BoxLayout boxlayout,
const int *  layoutID 
) [inline, protected]


Member Function Documentation

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]

DataIndex DataIterator::operator[] ( int  ivec  )  const [inline]

Reimplemented from LayoutIterator.

void DataIterator::clearTime (  )  [inline]

load balancing function. no-op in serial

Reimplemented in TimedDataIterator.

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]

Vector<Box> DataIterator::getBoxes (  )  [inline]

void DataIterator::enableTime (  )  [inline]

load balancing function. no-op in serial

Reimplemented in TimedDataIterator.

void DataIterator::enablePeak (  )  [inline]

void DataIterator::disableTime (  )  [inline]

load balancing function. no-op in serial

Reimplemented in TimedDataIterator.

void DataIterator::disablePeak (  )  [inline]

void DataIterator::mergeTime (  )  [inline]

load balancing function. no-op in serial

Reimplemented in TimedDataIterator.

void DataIterator::mergePeak (  )  [inline]


Friends And Related Function Documentation

friend class BoxLayout [friend]

Reimplemented from LayoutIterator.

Reimplemented in TimedDataIterator.

friend class DisjointBoxLayout [friend]

Reimplemented from LayoutIterator.

Reimplemented in TimedDataIterator.

friend class TimedDataIterator [friend]

Reimplemented from LayoutIterator.


The documentation for this class was generated from the following file:

Generated on Fri Apr 5 04:24:59 2019 for Chombo + EB by  doxygen 1.5.5