PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800

◆ 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 843 of file Time.cc.

References pism::stressbalance::D2(), 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().