Loading [MathJax]/extensions/tex2jax.js
PISM, A Parallel Ice Sheet Model 2.2.1-cd005eec8 committed by Constantine Khrulev on 2025-03-07
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages

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