PISM, A Parallel Ice Sheet Model
stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800
|
#include <Grid.hh>
Public Member Functions | |
Points (const Grid &g) | |
Public Member Functions inherited from pism::PointsWithGhosts | |
PointsWithGhosts (const Grid &grid, unsigned int stencil_width=1) | |
int | i () const |
int | j () const |
void | next () |
operator bool () const | |
Iterator class for traversing the grid (without ghost points).
Usage:
for (Points p(grid); p; p.next()) { int i = p.i(), j = p.j(); ... }