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

◆ 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().