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

◆ get_PDDs()

virtual void pism::surface::LocalMassBalance::get_PDDs ( double  dt_series,
const std::vector< double > &  S,
const std::vector< double > &  T,
std::vector< double > &  PDDs 
)
pure virtual

Count positive degree days (PDDs). Returned value in units of K day.

Inputs T[0],...,T[N-1] are temperatures (K) at times t, t+dt_series, ..., t+(N-1)dt_series. Inputs t, dt_series are in seconds.

Implemented in pism::surface::PDDrandMassBalance, and pism::surface::PDDMassBalance.