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

◆ 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().