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

◆ compute()

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

References pism::diagnostics::BOTH, pism::diagnostics::ERROR, pism::diagnostics::scalar::mass_change(), and pism::TSDiag< TSFluxDiagnostic, IceModel >::model.