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

◆ init()

void pism::IceModel::init ( )

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) Initialize model time:

2) Process the options:

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 854 of file IceModel.cc.

References allocate_storage(), allocate_submodels(), pism::Profiling::begin(), pism::Profiling::end(), pism::get_time(), m_ctx, m_grid, m_start_time, misc_setup(), model_state_setup(), process_options(), and time_setup().

Referenced by main().