PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900

◆ 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().