An Iterator based on a DisjointBoxLayout object for neighboring boxes.
More...
#include <NeighborIterator.H>
An Iterator based on a DisjointBoxLayout object for neighboring boxes.
NeighborIterator::NeighborIterator |
( |
| ) |
|
|
inline |
const LayoutIndex & NeighborIterator::operator() |
( |
| ) |
const |
|
inline |
Box NeighborIterator::box |
( |
| ) |
const |
void NeighborIterator::operator++ |
( |
| ) |
|
|
inline |
bool NeighborIterator::ok |
( |
| ) |
const |
|
inline |
void NeighborIterator::begin |
( |
const DataIndex & |
a_dataIndex | ) |
|
initialize this iterator to the first index in the neighbor list
Box NeighborIterator::unshift |
( |
const Box & |
a_box | ) |
const |
OK, this one requires a little explanation.
if the current box is a periodic image box, then this operation returns the unmapping of a_box.
std::vector<std::pair<int, LayoutIndex> >::const_iterator NeighborIterator::m_current |
|
private |
std::vector<std::pair<int, LayoutIndex> >::const_iterator NeighborIterator::m_end |
|
private |
The documentation for this class was generated from the following file: