PISM, A Parallel Ice Sheet Model 2.3.0-79cae578d committed by Constantine Khrulev on 2026-03-22
Loading...
Searching...
No Matches

◆ dummy_accumulation()

void pism::surface::SurfaceModel::dummy_accumulation ( const array::Scalar smb,
array::Scalar result 
)
protected

Use the surface mass balance to compute dummy accumulation.

This is used by surface models that compute the SMB but do not provide accumulation, melt, and runoff.

We assume that the positive part of the SMB is accumulation and the negative part is runoff. This ensures that outputs of PISM's surface models satisfy "SMB = accumulation - runoff".

Definition at line 364 of file SurfaceModel.cc.

References pism::Component::m_grid.

Referenced by pism::icebin::IBSurfaceModel::update_impl(), pism::surface::Anomaly::update_impl(), pism::surface::PIK::update_impl(), pism::surface::EISMINTII::update_impl(), pism::surface::Elevation::update_impl(), pism::surface::ElevationChange::update_impl(), pism::surface::ForceThickness::update_impl(), pism::surface::Given::update_impl(), pism::surface::ISMIP6::update_impl(), pism::surface::NoGLRetreat::update_impl(), and pism::surface::Simple::update_impl().