Loading [MathJax]/extensions/tex2jax.js
PISM, A Parallel Ice Sheet Model 2.2.2-d6b3a29ca committed by Constantine Khrulev on 2025-03-28
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages

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

References m_year_length.