PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900

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