PISM, A Parallel Ice Sheet Model 2.2.2-d6b3a29ca committed by Constantine Khrulev on 2025-03-28
Loading...
Searching...
No Matches

◆ diff_y_p()

double pism::array::diff_y_p ( const array::Scalar array,
int  i,
int  j 
)

Returns the y-derivative at i,j approximated using centered finite differences. Respects grid periodicity and uses one-sided FD at grid edges if necessary.

Definition at line 129 of file Scalar.cc.

References diff_y(), pism::array::Array::grid(), and pism::grid::Y_PERIODIC.