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

◆ extract_surface() [1/2]

void pism::array::extract_surface ( const Array3D data,
const Scalar z,
Scalar output 
)

Copies the values of an Array3D at the ice surface (specified by the level z) into output.

Definition at line 153 of file Array3D.cc.

References pism::ParallelSection::check(), pism::ParallelSection::failed(), pism::array::Array::grid(), and pism::array::Array3D::interpolate().