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

◆ grounding_line_flux()

void pism::grounding_line_flux ( const array::CellType1 cell_type,
const array::Staggered1 flux,
double  dt,
bool  add_values,
array::Scalar result 
)

Compute the grounding line flux.

The units of result are "kg m-2". Negative flux corresponds to ice moving into the ocean, i.e. from grounded to floating areas.

This convention makes it easier to compare this quantity to the surface mass balance or calving fluxes.

Definition at line 1231 of file GeometryEvolution.cc.

References pism::ParallelSection::check(), pism::ParallelSection::failed(), pism::array::Array::grid(), pism::mask::grounded(), pism::array::CellType::ocean(), pism::array::Array2D< T >::star(), and pism::array::Staggered1::star().

Referenced by pism::diagnostics::GroundingLineFlux::update_impl().