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

◆ compute_sinks()

static void pism::hydrology::diagnostics::compute_sinks ( const array::Scalar domain_mask,
const array::Scalar1 psi,
array::Scalar result 
)
static

Compute the map of sinks.

This field is purely diagnostic: it can be used to diagnose failures of the code filling dips to eliminate sinks (and get a better estimate of the steady state flow direction).

Definition at line 37 of file EmptyingProblem.cc.

References pism::array::Array::grid(), and pism::array::Array2D< T >::star().

Referenced by pism::hydrology::EmptyingProblem::update().