11 #ifndef _TIMEDDATAITERATOR_H_ 12 #define _TIMEDDATAITERATOR_H_ 20 #include "NamespaceHeader.H" 31 virtual bool ok()
const;
92 #include "NamespaceFooter.H" Vector< Box > boxArray() const
Vector< Box > getBoxes()
Definition: TimedDataIterator.H:46
int m_ibox
Definition: TimedDataIterator.H:81
A not-necessarily-disjoint collective of boxes.
Definition: BoxLayout.H:146
void disableTime()
turns off timing
Definition: TimedDataIterator.H:66
Vector< unsigned long long > & getTime()
gets current time data
Definition: TimedDataIterator.H:41
Definition: DataIterator.H:140
const Vector< unsigned long long > & getTime() const
gets current time data in microseconds
Definition: TimedDataIterator.H:52
unsigned long long m_startTime
Definition: TimedDataIterator.H:79
virtual bool ok() const
return true if this iterator is still in its Layout
BoxLayout m_layout
Definition: LayoutIterator.H:92
A BoxLayout that has a concept of disjointedness.
Definition: DisjointBoxLayout.H:31
void enableTime()
enables timing. does not set to zero. use clear time for that
Definition: TimedDataIterator.H:58
void mergeTime()
After you are finished timing your local elements, call mergeTimes to fill-in off-processor times...
Vector< unsigned long long > m_time
Definition: TimedDataIterator.H:76
void clearTime()
sets m_time values to zero
virtual ~TimedDataIterator()
Definition: TimedDataIterator.H:27
bool m_timeDefined
Definition: TimedDataIterator.H:78
Definition: TimedDataIterator.H:23
virtual void operator++()
move the iterator to the next Box in the layout
bool m_timeEnabled
Definition: TimedDataIterator.H:77