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

◆ hydraulic_potential()

void pism::hydrology::diagnostics::hydraulic_potential ( const array::Scalar W,
const array::Scalar P,
const array::Scalar sea_level,
const array::Scalar bed,
const array::Scalar ice_thickness,
array::Scalar result 
)

Compute the hydraulic potential.

Computes \(\psi = P + \rho_w g (b + W)\).

Definition at line 186 of file Routing.cc.

References C, pism::array::Array::grid(), and pism::array::max().

Referenced by pism::hydrology::diagnostics::HydraulicPotential::compute_impl().