PISM, A Parallel Ice Sheet Model  stable v2.0.4 committed by Constantine Khrulev on 2022-05-25 12:02:27 -0800

◆ extend_basal_melt_rates()

static void pism::ocean::extend_basal_melt_rates ( const IceModelVec2CellType cell_type,
IceModelVec2S basal_melt_rate 
)
static

Extend basal melt rates to grounded and ocean neighbors for consitency with subgl_melt. Note that melt rates are then simply interpolated into partially floating cells, they are not included in the calculations of PICO.

Definition at line 204 of file Pico.cc.

References pism::IceModelVec2S::box(), pism::IceModelVec2Int::box(), pism::IceModelVec::grid(), pism::MASK_FLOATING, pism::MASK_GROUNDED, pism::MASK_ICE_FREE_OCEAN, pism::PointsWithGhosts::next(), and pism::IceModelVec::update_ghosts().

Referenced by pism::ocean::Pico::update_impl().