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

◆ skip_counter()

unsigned int pism::IceModel::skip_counter ( double  dt,
double  dt_diffusivity 
)
protectedvirtual

Compute the skip counter using "long" (usually determined using the CFL stability criterion) and "short" (typically determined using the diffusivity-based stability criterion) time step lengths.

Parameters
[in]dt"long" time-step
[in]dt_diffusivity"short" time-step
Returns
new skip counter

Definition at line 75 of file timestepping.cc.

References dt(), m_config, and pism::array::min().

Referenced by max_timestep().