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

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