PISM, A Parallel Ice Sheet Model
stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800
|
◆ 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(). |