PISM, A Parallel Ice Sheet Model 2.2.2-d6b3a29ca committed by Constantine Khrulev on 2025-03-28
|
◆ mass_change()
Return total mass change due to one of the terms in the mass continuity equation. Possible terms are
This computation can be restricted to grounded and floating areas using the
When computing mass changes due to flow it is important to remember that ice mass in a cell can be represented by its thickness or an "area specific volume". Transferring mass from one representation to the other does not change the mass in a cell. This explains the special case used when Definition at line 2206 of file diagnostics.cc. References pism::array::Array2D< T >::add(), pism::GeometryEvolution::area_specific_volume_change_due_to_flow(), pism::diagnostics::BMB, pism::diagnostics::BOTH, pism::GeometryEvolution::bottom_surface_mass_balance(), pism::Geometry::cell_type, pism::GeometryEvolution::conservation_error(), pism::diagnostics::ERROR, pism::diagnostics::FLOW, pism::RuntimeError::formatted(), pism::IceModel::geometry(), pism::IceModel::geometry_evolution(), pism::Config::get_number(), pism::GlobalSum(), pism::IceModel::grid(), pism::diagnostics::GROUNDED, PISM_ERROR_LOCATION, pism::diagnostics::SHELF, pism::diagnostics::SMB, pism::GeometryEvolution::thickness_change_due_to_flow(), and pism::GeometryEvolution::top_surface_mass_balance(). Referenced by pism::diagnostics::scalar::IceMassFluxBasal::compute(), pism::diagnostics::scalar::IceMassFluxSurface::compute(), pism::diagnostics::scalar::IceMassFluxBasalGrounded::compute(), pism::diagnostics::scalar::IceMassFluxBasalFloating::compute(), and pism::diagnostics::scalar::IceMassFluxConservationError::compute(). |