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

◆ combine_basal_melt_rate()

void pism::IceModel::combine_basal_melt_rate ( const Geometry geometry,
const array::Scalar shelf_base_mass_flux,
const array::Scalar grounded_basal_melt_rate,
array::Scalar result 
)
protectedvirtual

Combine basal melt rate in grounded and floating areas.

Grounded basal melt rate is computed as a part of the energy (enthalpy or temperature) step; floating basal melt rate is provided by an ocean model.

This method updates IceModel::basal_melt_rate (in meters per second ice-equivalent).

The sub shelf mass flux provided by an ocean model is in [kg m-2 s-1], so we divide by the ice density to convert to [m second-1].

Definition at line 85 of file energy.cc.

References pism::array::Array2D< T >::add(), pism::Geometry::cell_grounded_fraction, pism::Geometry::cell_type, geometry(), m_config, m_grid, and pism::array::CellType::ocean().

Referenced by step().