PISM, A Parallel Ice Sheet Model 2.3.0-79cae578d committed by Constantine Khrulev on 2026-03-22
Loading...
Searching...
No Matches

◆ init()

void pism::IceModel::init ( DiagnosticReport  report_type = DIAG_NONE)

Manage the initialization of the IceModel object.

Please see the documenting comments of the functions called below to find explanations of their intended uses.

The IceModel initialization sequence is this:

1) Warn about some option combinations

3) Memory allocation:

4) Allocate PISM components modeling some physical processes.

6) Initialize coupler models and fill the model state variables (from a PISM output file, from a bootstrapping file using some modeling choices or using formulas). Calls IceModel::regrid()

7) Report grid parameters:

8) Miscellaneous stuff: set up the bed deformation model, initialize the basal till model, initialize snapshots. This has to happen after regridding.

Definition at line 837 of file IceModel.cc.

References allocate_storage(), allocate_submodels(), pism::Profiling::begin(), pism::Profiling::end(), pism::get_time(), m_config, m_ctx, m_grid, m_log, m_start_time, m_time, misc_setup(), model_state_setup(), and pism::process_input_options().