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

◆ 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 154 of file Array3D.cc.

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