Chombo + EB  3.0
Classes | Macros
DataIterator.H File Reference
#include "Vector.H"
#include "DataIndex.H"
#include "BoxLayout.H"
#include "SPMD.H"
#include "LayoutIterator.H"
#include "NamespaceHeader.H"
#include "NamespaceFooter.H"
Include dependency graph for DataIterator.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DataIterator
 

Macros

#define _DATAITERATOR_H_
 
#define DATAITERATOR(CLASS, BOXLAYOUT)
 
#define ENDITERATOR(CLASS)
 
#define DATAITERATOR1(CLASS, BOXLAYOUT, TYPE1, VAL1)
 
#define ENDITERATOR1(CLASS, TYPE1, VAL1)
 
#define DATAITERATOR2(CLASS, BOXLAYOUT, TYPE1, VAL1, TYPE2, VAL2)
 
#define ENDITERATOR2(CLASS, TYPE1, VAL1, TYPE2, VAL2)
 

Macro Definition Documentation

◆ _DATAITERATOR_H_

#define _DATAITERATOR_H_

◆ DATAITERATOR

#define DATAITERATOR (   CLASS,
  BOXLAYOUT 
)
Value:
DataIterator dit = BOXLAYOUT .dataIterator(); \
for (dit.begin(); dit.ok(); ++dit) \
{ \
DataIndex di = dit(); \
MT_BEGIN1(CLASS, DataIndex, di)
void begin()
initialize this iterator to the first Box in its Layout
Definition: LayoutIterator.H:115
virtual bool ok() const
return true if this iterator is still in its Layout
Definition: LayoutIterator.H:110
Definition: DataIterator.H:140
Definition: DataIndex.H:112

◆ ENDITERATOR

#define ENDITERATOR (   CLASS)
Value:
MT_END1(CLASS, DataIndex, di) \
}
Definition: DataIndex.H:112

◆ DATAITERATOR1

#define DATAITERATOR1 (   CLASS,
  BOXLAYOUT,
  TYPE1,
  VAL1 
)
Value:
DataIterator dit = BOXLAYOUT .dataIterator(); \
for (dit.begin(); dit.ok(); ++dit) \
{ \
DataIndex di = dit(); \
MT_BEGIN2(CLASS, TYPE1, VAL1, DataIndex, di)
void begin()
initialize this iterator to the first Box in its Layout
Definition: LayoutIterator.H:115
virtual bool ok() const
return true if this iterator is still in its Layout
Definition: LayoutIterator.H:110
Definition: DataIterator.H:140
Definition: DataIndex.H:112

◆ ENDITERATOR1

#define ENDITERATOR1 (   CLASS,
  TYPE1,
  VAL1 
)
Value:
MT_END2(CLASS, TYPE1, VAL1, DataIndex, di) \
}
Definition: DataIndex.H:112

◆ DATAITERATOR2

#define DATAITERATOR2 (   CLASS,
  BOXLAYOUT,
  TYPE1,
  VAL1,
  TYPE2,
  VAL2 
)
Value:
DataIterator dit = BOXLAYOUT .dataIterator(); \
for (dit.begin(); dit.ok(); ++dit) \
{ \
DataIndex di = dit(); \
MT_BEGIN3(CLASS, TYPE1, VAL1, TYPE2, VAL2, DataIndex, di)
void begin()
initialize this iterator to the first Box in its Layout
Definition: LayoutIterator.H:115
virtual bool ok() const
return true if this iterator is still in its Layout
Definition: LayoutIterator.H:110
Definition: DataIterator.H:140
Definition: DataIndex.H:112

◆ ENDITERATOR2

#define ENDITERATOR2 (   CLASS,
  TYPE1,
  VAL1,
  TYPE2,
  VAL2 
)
Value:
MT_END3(CLASS, TYPE1, VAL1, TYPE2, VAL2, DataIndex, di) \
}
Definition: DataIndex.H:112