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

◆ update()

void pism::calving::FloatKill::update ( array::Scalar cell_type,
array::Scalar ice_thickness 
)

Updates ice cover mask and the ice thickness using the calving rule removing all floating ice.

Parameters
[in,out]pism_maskice cover (cell type) mask
[in,out]ice_thicknessice thickness
Returns
0 on success

Definition at line 60 of file FloatKill.cc.

References pism::array::Array2D< T >::copy_from(), pism::array::CellType::floating_ice(), m_calve_near_grounding_line, pism::Component::m_grid, m_margin_only, m_old_mask, pism::MASK_ICE_FREE_OCEAN, pism::array::CellType1::next_to_grounded_ice(), pism::array::CellType1::next_to_ice_free_ocean(), and pism::array::Array::update_ghosts().