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

◆ integrate()

static double pism::surface::diagnostics::integrate ( const array::Scalar input)
static

Integrate a field over the computational domain.

If the input has units kg/m^2, the output will be in kg.

Definition at line 728 of file SurfaceModel.cc.

References pism::GlobalSum(), and pism::array::Array::grid().

Referenced by pism::surface::diagnostics::TotalSurfaceAccumulation::compute(), pism::surface::diagnostics::TotalSurfaceMelt::compute(), and pism::surface::diagnostics::TotalSurfaceRunoff::compute().