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

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