18 #include "NamespaceHeader.H" 46 return *
this == a_rhs;
52 return !(*
this == a_rhs);
86 pout() << *
this << endl;
89 friend std::ostream&
operator<< (std::ostream& os,
106 const int* a_layoutID)
108 m_index (a_indexIntoBoxes),
109 m_datInd(a_indexIntoData),
110 m_layoutIntPtr(a_layoutID)
139 const int* a_layoutID)
141 LayoutIndex(a_indexIntoBox, a_indexIntoData, a_layoutID)
174 #include "NamespaceFooter.H" std::ostream & pout()
Use this in place of std::cout for program output.
int intCode() const
Definition: DataIndex.H:161
int datInd() const
Definition: DataIndex.H:64
friend std::ostream & operator<<(std::ostream &os, const LayoutIndex &dit)
A not-necessarily-disjoint collective of boxes.
Definition: BoxLayout.H:145
A strange but true thing to make copying from one boxlayoutdata to another fast.
Definition: Copier.H:152
LayoutIndex()
Definition: DataIndex.H:149
bool operator==(const LayoutIndex &a_rhs) const
Definition: DataIndex.H:156
DataIndex(const LayoutIndex &a_promotion)
Definition: DataIndex.H:117
virtual ~LayoutIndex()
Definition: DataIndex.H:36
Definition: DataIterator.H:190
An Iterator based on a BoxLayout object.
Definition: LayoutIterator.H:35
const int * m_layoutIntPtr
Definition: DataIndex.H:102
LayoutIndex(const LayoutIndex &a_input)
Definition: DataIndex.H:74
virtual ~DataIndex()
Definition: DataIndex.H:126
A BoxLayout that has a concept of disjointedness.
Definition: DisjointBoxLayout.H:30
DataIndex()
Definition: DataIndex.H:121
bool eq(const LayoutIndex &a_rhs) const
Definition: DataIndex.H:44
Definition: DataIndex.H:114
DataIndex(int a_indexIntoBox, int a_indexIntoData, const int *a_layoutID)
Definition: DataIndex.H:137
bool isNull() const
returns 'true' if this DataIndex has been null constructed.
Definition: DataIndex.H:166
virtual void output() const
Definition: DataIndex.H:84
LayoutIndex(int a_indexIntoBoxes, int a_indexIntoData, const int *a_layoutID)
Definition: DataIndex.H:104
An index for LayoutIterator.
Definition: DataIndex.H:30
An Iterator based on a DisjointBoxLayout object for neighboring boxes.
Definition: NeighborIterator.H:23
int m_index
Definition: DataIndex.H:100
int m_datInd
Definition: DataIndex.H:101
Definition: TimedDataIterator.H:23
bool operator!=(const LayoutIndex &a_rhs) const
Definition: DataIndex.H:50