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

◆ limit_diffusive_flux()

static double pism::limit_diffusive_flux ( int  current,
int  neighbor,
double  flux 
)
static

Prevent SIA-driven flow in ice shelves and ice-free areas.

Note: positive flux corresponds to the flux from current to neighbor.

Definition at line 493 of file GeometryEvolution.cc.

References pism::RuntimeError::formatted(), and PISM_ERROR_LOCATION.

Referenced by pism::GeometryEvolution::compute_interface_fluxes().