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

◆ calendar_year_start()

double pism::Time::calendar_year_start ( double  T) const

Returns the model time in seconds corresponding to the beginning of the year T falls into.

Definition at line 832 of file Time.cc.

References pism::units::Unit::date(), m_calendar_string, m_time_units, and pism::units::Unit::time().

Referenced by pism::surface::DEBMSimple::compute_next_balance_year_start(), and pism::surface::TemperatureIndex::compute_next_balance_year_start().