PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900

◆ 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().