Loading [MathJax]/extensions/tex2jax.js
PISM, A Parallel Ice Sheet Model 2.2.1-cd005eec8 committed by Constantine Khrulev on 2025-03-07
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages

◆ compute()

double pism::surface::diagnostics::TotalSurfaceRunoff::compute ( )
inlinevirtual

Compute the diagnostic. Regular (snapshot) quantity should be computed here; for rates of change, compute() should return the total change during the time step from t0 to t1. The rate itself is computed in evaluate_rate().

Implements pism::TSDiagnostic.

Definition at line 792 of file SurfaceModel.cc.

References pism::surface::diagnostics::integrate(), and pism::TSDiag< TSFluxDiagnostic, SurfaceModel >::model.