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

◆ compute()

double pism::diagnostics::scalar::IceMassRateOfChangeDueToFlow::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 1789 of file diagnostics.cc.

References pism::GeometryEvolution::area_specific_volume_change_due_to_flow(), pism::IceModel::geometry_evolution(), pism::GlobalSum(), pism::TSDiagnostic::m_config, pism::TSDiagnostic::m_grid, pism::TSDiag< TSFluxDiagnostic, IceModel >::model, and pism::GeometryEvolution::thickness_change_due_to_flow().