PISM, A Parallel Ice Sheet Model 2.2.2-d6b3a29ca committed by Constantine Khrulev on 2025-03-28
Loading...
Searching...
No Matches

◆ compute()

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

References pism::IceModel::geometry(), pism::TSDiagnostic::m_config, pism::TSDiag< TSSnapshotDiagnostic, IceModel >::model, and pism::sea_level_rise_potential().