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

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

Referenced by pism::stressbalance::PSB_wvel::compute(), pism::stressbalance::SSA::compute_driving_stress(), pism::stressbalance::SSB_taud::compute_impl(), pism::stressbalance::PSB_tauyz::compute_impl(), and pism::stressbalance::WeertmanSliding::update().