PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900

◆ compute()

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

References pism::array::max(), pism::stressbalance::StressBalance::max_timestep_cfl_3d(), pism::TSDiag< TSSnapshotDiagnostic, IceModel >::model, pism::IceModel::stress_balance(), pism::CFLData::u_max, and pism::CFLData::v_max.