PISM, A Parallel Ice Sheet Model
stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900
|
◆ gradientFD() [1/2]
Computes finite difference approximations of a IPFunctional<array::Scalar> gradient. Useful for debugging a hand coded gradient. Definition at line 28 of file IPFunctional.cc. References pism::ParallelSection::check(), pism::Grid::com, pism::ParallelSection::failed(), pism::array::Array::grid(), pism::PointsWithGhosts::next(), pism::Grid::points(), pism::array::Array::update_ghosts(), and pism::inverse::IPFunctional< IMVecType >::valueAt(). |