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

◆ allocate_layer_thickness() [1/2]

static std::shared_ptr<array::Array3D> pism::details::allocate_layer_thickness ( const array::Array3D input,
double  T_start,
const std::vector< double > &  requested_times 
)
static

Allocate layer thicknesses and copy relevant info from input.

Parameters
[in]inputinput layer thicknesses and deposition times, read from an input file
[in]T_startstart time of the current run
[in]requested_timesrequested deposition times

Definition at line 111 of file Isochrones.cc.

References allocate_layer_thickness(), deposition_times(), pism::RuntimeError::formatted(), pism::array::Array3D::get_column(), pism::array::Array::get_name(), pism::array::Array::grid(), pism::k, pism::array::Array::levels(), pism::PointsWithGhosts::next(), non_decreasing(), and PISM_ERROR_LOCATION.

Referenced by pism::Isochrones::bootstrap(), and pism::Isochrones::initialize().