PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800
Public Member Functions | List of all members
pism::Points Class Reference

#include <Grid.hh>

+ Inheritance diagram for pism::Points:

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
 

Detailed Description

Iterator class for traversing the grid (without ghost points).

Usage:

for (Points p(grid); p; p.next()) { int i = p.i(), j = p.j(); ... }

Definition at line 217 of file Grid.hh.


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