PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800

◆ operator[]() [1/2]

template<typename T >
T& pism::stencils::Star< T >::operator[] ( Direction  direction)
inline

Get the element corresponding to a given direction. Use foo.c to get the value at i,j (center of the star).

Definition at line 45 of file stencils.hh.

References pism::stencils::Star< T >::e, pism::East, pism::stencils::Star< T >::n, pism::North, pism::stencils::Star< T >::s, pism::South, pism::stencils::Star< T >::w, and pism::West.