PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900

◆ year_fraction()

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

Returns the fraction of a year that passed since the last beginning of a year. Only useful in codes with a "yearly cycle" (such as the PDD model).

Definition at line 820 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::atmosphere::YearlyCycle::init_timeseries_impl().