PISM, A Parallel Ice Sheet Model 2.3.0-79cae578d committed by Constantine Khrulev on 2026-03-22
Loading...
Searching...
No Matches

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