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

◆ 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::mask::floating_ice(), pism::RuntimeError::formatted(), pism::mask::grounded_ice(), pism::mask::ice_free_land(), pism::mask::ice_free_ocean(), and PISM_ERROR_LOCATION.

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