PISM, A Parallel Ice Sheet Model 2.3.2-fa1174726 committed by Constantine Khrulev on 2026-04-08
Loading...
Searching...
No Matches

◆ init_step()

template<class M , class In >
void pism::init_step ( M *  model,
const In &  inputs,
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 33 of file init_step.hh.

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

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