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

◆ compute()

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

References pism::IceModel::energy_balance_model(), pism::energy::EnergyModel::enthalpy(), pism::IceModel::geometry(), pism::Geometry::ice_thickness, pism::TSDiag< TSSnapshotDiagnostic, IceModel >::model, and pism::energy::total_ice_enthalpy().