11 #ifndef _NEIGHBORITERATOR_H_ 12 #define _NEIGHBORITERATOR_H_ 17 #include "NamespaceHeader.H" 44 inline bool ok()
const;
83 #include "NamespaceFooter.H" #define CH_assert(cond)
Definition: CHArray.H:37
std::vector< std::pair< int, LayoutIndex > >::const_iterator m_current
Definition: NeighborIterator.H:59
const DisjointBoxLayout * m_dblPtr
Definition: NeighborIterator.H:58
const LayoutIndex & operator()() const
return the index that this iterator is at
Definition: NeighborIterator.H:76
Box unshift(const Box &a_box) const
OK, this one requires a little explanation.
LayoutIndex m_lindex
Definition: NeighborIterator.H:60
A BoxLayout that has a concept of disjointedness.
Definition: DisjointBoxLayout.H:30
NeighborIterator()
Definition: NeighborIterator.H:27
bool ok() const
return true if this iterator is still in the neighbor list
Definition: NeighborIterator.H:63
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:469
Definition: DataIndex.H:114
void begin(const DataIndex &a_dataIndex)
initialize this iterator to the first index in the neighbor list
An index for LayoutIterator.
Definition: DataIndex.H:30
std::vector< std::pair< int, LayoutIndex > >::const_iterator m_end
Definition: NeighborIterator.H:59
An Iterator based on a DisjointBoxLayout object for neighboring boxes.
Definition: NeighborIterator.H:23
void operator++()
move the iterator to the next index in the neighbor list
Definition: NeighborIterator.H:69