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

◆ init_step()

template<class M >
void pism::init_step ( M *  model,
const Geometry geometry,
const Time time 
)

Update a model by asking it to perform time-stepping from the current time to one year in the future (or as far as the time step restriction allows).

This is sometimes necessary during initialization, but should be avoided if possible.

Definition at line 32 of file init_step.hh.

References pism::Time::current(), pism::MaxTimestep::finite(), pism::Time::increment_date(), pism::array::min(), and pism::MaxTimestep::value().

Referenced by pism::ocean::InitializationHelper::init_impl(), pism::ocean::sea_level::InitializationHelper::init_impl(), and pism::surface::InitializationHelper::init_impl().