PISM, A Parallel Ice Sheet Model 2.2.2-d6b3a29ca committed by Constantine Khrulev on 2025-03-28
|
◆ 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, extras_max_timestep(), 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::member(), pism::printf(), pism::IceModel::TimesteppingInfo::reason, save_max_timestep(), pism::array::Array::set(), pism::IceModel::TimesteppingInfo::skip_counter, skip_counter(), and ts_max_timestep(). Referenced by max_timestep(), and step(). |