Loading [MathJax]/extensions/tex2jax.js
PISM, A Parallel Ice Sheet Model 2.2.1-cd005eec8 committed by Constantine Khrulev on 2025-03-07
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages

◆ apply_mass_fluxes()

void pism::GeometryEvolution::apply_mass_fluxes ( Geometry geometry) const

Update geometry by applying changes due to surface and basal mass fluxes.

Note: This method performs these changes in the same order as the code ensuring non-negativity. This is important.

Definition at line 378 of file GeometryEvolution.cc.

References bottom_surface_mass_balance(), pism::ParallelSection::check(), pism::ParallelSection::failed(), pism::RuntimeError::formatted(), pism::Geometry::ice_thickness, pism::Component::m_grid, PISM_ERROR_LOCATION, and top_surface_mass_balance().