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

◆ 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().