|
PISM, A Parallel Ice Sheet Model 2.3.0-79cae578d committed by Constantine Khrulev on 2026-03-22
|
◆ max_timestep()
Use various stability criteria to determine the time step for an evolution run. The main loop in run() approximates many physical processes. Several of these approximations, including the mass continuity and temperature equations in particular, involve stability criteria. This procedure builds the length of the next time step by using these criteria and by incorporating choices made by options (e.g.
Definition at line 101 of file timestepping.cc. References pism::array::Array2D< T >::add(), pism::Geometry::cell_type, dt(), pism::IceModel::TimesteppingInfo::dt, m_config, m_eigen_calving, m_front_retreat, m_frontal_melt, m_geometry, m_hayhurst_calving, m_ice_thickness_bc_mask, m_stress_balance, m_submodels, m_time, m_timestep_hit_multiples_last_time, m_vonmises_calving, m_work2d, max_timestep(), max_timestep_diffusivity(), pism::printf(), pism::IceModel::TimesteppingInfo::reason, scalar_diagnostics_max_timestep(), pism::array::Array::set(), pism::set_member(), pism::IceModel::TimesteppingInfo::skip_counter, skip_counter(), snapshots_max_timestep(), and spatial_diagnostics_max_timestep(). Referenced by max_timestep(), and step(). |