PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800

◆ renormalize()

static void pism::details::renormalize ( const array::Scalar ice_thickness,
array::Array3D layer_thickness 
)
static

Re-scale layer thicknesses so that the sum of layer thicknesses is equal to the ice_thickness.

Parameters
[in]ice_thicknessice thickness, meters
[in,out]layer_thicknessisochronal layer thickness

Definition at line 327 of file Isochrones.cc.

References pism::array::Array3D::get_column(), pism::array::Array::grid(), pism::k, pism::array::Array::levels(), and S().

Referenced by pism::Isochrones::bootstrap().