Loading [MathJax]/extensions/tex2jax.js
PISM, A Parallel Ice Sheet Model 2.2.1-cd005eec8 committed by Constantine Khrulev on 2025-03-07
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages

◆ 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.