PISM, A Parallel Ice Sheet Model
stable v2.0.6 committed by Constantine Khrulev on 2023-01-23 15:14:38 -0900
|
#include <IceGrid.hh>
Public Member Functions | |
Points (const IceGrid &g) | |
![]() | |
PointsWithGhosts (const IceGrid &g, 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()) { double foo = p.i(); ... }
Definition at line 409 of file IceGrid.hh.