Proto
Public Member Functions
Proto::NeighborIterator Class Reference
Collaboration diagram for Proto::NeighborIterator:
Collaboration graph
[legend]

Public Member Functions

 NeighborIterator (const DisjointBoxLayout &a_dbl, const Box &a_bx)
 Constructor takes DBL, and Box that we are intersecting with the DBL.
 
NeighborIteratorbegin ()
 Iterator functions begin, end, ++.
 
const DataIndexoperator* () const
 Dereference operator returns the DataIndex corresponding to the current iterate.
 
Point point () const
 The Point corresponding to the Box for that index. Undefined if invalid.
 
Box srcBox () const
 The region to be copied from corresponding to that index. Undefined if invalid.
 
Box destBox () const
 The region to be copied from corresponding to that index. Undefined if invalid.
 
Point shift ()
 The amount by which the srcBox is shifted to obtain destBox a_bx.
 

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