PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900
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: