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

◆ init_time()

void pism::hydrology::SteadyState::init_time ( const std::string &  input_file)
protected

Read time bounds corresponding to the water input rate in the forcing file.

These times are used to compute the maximum time step the model can take while still capturing temporal variability of the forcing.

Definition at line 283 of file SteadyState.cc.

References pism::RuntimeError::formatted(), pism::is_increasing(), pism::k, pism::Component::m_grid, m_time, m_time_bounds, PISM_ERROR_LOCATION, pism::io::PISM_GUESS, pism::io::PISM_READONLY, pism::io::read_bounds(), pism::File::read_text_attribute(), pism::Component::time(), and pism::io::time_dimension().

Referenced by bootstrap_impl(), and restart_impl().