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

◆ years_to_seconds()

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

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

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

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

Definition at line 419 of file Time.cc.

References m_year_length.