PISM, A Parallel Ice Sheet Model  stable v2.0.4 committed by Constantine Khrulev on 2022-05-25 12:02:27 -0800
Public Member Functions | List of all members
pism::Points Class Reference

#include <IceGrid.hh>

+ Inheritance diagram for pism::Points:

Public Member Functions

 Points (const IceGrid &g)
 
- Public Member Functions inherited from pism::PointsWithGhosts
 PointsWithGhosts (const IceGrid &g, 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()) { double foo = p.i(); ... }

Definition at line 409 of file IceGrid.hh.


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