PISM, A Parallel Ice Sheet Model  stable v2.0.6 committed by Constantine Khrulev on 2023-01-23 15:14:38 -0900
Public Member Functions | Private Attributes | List of all members
pism::PointsWithGhosts Class Reference

#include <IceGrid.hh>

+ Inheritance diagram for pism::PointsWithGhosts:

Public Member Functions

 PointsWithGhosts (const IceGrid &g, unsigned int stencil_width=1)
int i () const
int j () const
void next ()
 operator bool () const

Private Attributes

int m_i
int m_j
int m_i_first
int m_i_last
int m_j_first
int m_j_last
bool m_done

Detailed Description

Iterator class for traversing the grid, including ghost points.


for (PointsWithGhosts p(grid, stencil_width); p; p.next()) { ... }

Definition at line 361 of file IceGrid.hh.

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