PISM, A Parallel Ice Sheet Model 2.2.1-cd005eec8 committed by Constantine Khrulev on 2025-03-07
Loading...
Searching...
No Matches

◆ limit_advective_flux()

static double pism::limit_advective_flux ( int  current,
int  neighbor,
double  input 
)
static

Prevent advective ice flow from floating ice to ice-free land, as well as in the ice-free areas.

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

Definition at line 415 of file GeometryEvolution.cc.

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

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