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() [1/2]
NeighborIterator::NeighborIterator |
( |
| ) |
|
|
inline |
◆ NeighborIterator() [2/2]
◆ operator()()
const LayoutIndex & NeighborIterator::operator() |
( |
| ) |
const |
|
inline |
◆ box()
Box NeighborIterator::box |
( |
| ) |
const |
◆ operator++()
void NeighborIterator::operator++ |
( |
| ) |
|
|
inline |
◆ ok()
bool NeighborIterator::ok |
( |
| ) |
const |
|
inline |
◆ begin()
void NeighborIterator::begin |
( |
const DataIndex & |
a_dataIndex | ) |
|
initialize this iterator to the first index in the neighbor list
Referenced by NeighborIterator().
◆ unshift()
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.
Referenced by NeighborIterator().
◆ m_dblPtr
◆ m_current
std::vector<std::pair<int, LayoutIndex> >::const_iterator NeighborIterator::m_current |
|
private |
◆ m_end
std::vector<std::pair<int, LayoutIndex> >::const_iterator NeighborIterator::m_end |
|
private |
◆ m_lindex
The documentation for this class was generated from the following file: