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

◆ compute_times_simple()

void pism::Time::compute_times_simple ( double  time_start,
double  delta,
double  time_end,
std::vector< double > &  result 
) const
protected

Compute times corresponding to a "simple" time range.

This is a time range with a fixed step ("hourly" is an example).

Parameters
[in]time_startbeginning of the time interval, in seconds
[in]deltastep, in seconds
[in]time_endend of the interval, in seconds
[out]resultlist of model times

Definition at line 650 of file Time.cc.

References date(), end(), pism::RuntimeError::formatted(), pism::k, PISM_ERROR_LOCATION, and start().

Referenced by compute_times().