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

◆ seconds_to_years()

double pism::Time::seconds_to_years ( double  input) const
protected

Convert time interval length in seconds into years using the year length corresponding to the chosen calendar.

Convert seconds into model years using the year length corresponding to the current calendar.

Do not use this to convert quantities other than time intervals!

Definition at line 427 of file Time.cc.

References m_year_length.

Referenced by convert_time_interval(), and run_length().