Loading [MathJax]/extensions/tex2jax.js
PISM, A Parallel Ice Sheet Model 2.2.2-d6b3a29ca committed by Constantine Khrulev on 2025-03-28
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages

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

Referenced by max_timestep().