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

◆ set_rate()

void pism::icebin::IBIceModel::set_rate ( double  dt)
Parameters
t0Time of last time we coupled.

Differences and divides by accumulated time over coupling timestep. Eg, to convert [kg m-2] --> [kg m-2 s-1]

Parameters
t0Time of last time we coupled.

Definition at line 219 of file IBIceModel.cc.

References pism::icebin::MassEnergyBudget::all_vecs, base, compute_enth2(), cur, pism::icebin::MassEnergyBudget::DELTA, pism::IceModel::dt(), pism::icebin::MassEnthVec2S::enth, pism::icebin::MassEnergyBudget::EPSILON, pism::IceModel::m_grid, pism::icebin::MassEnthVec2S::mass, PISM_ERROR_LOCATION, pism::printf(), rate, pism::icebin::MassEnergyBudget::set_epsilon(), and pism::icebin::MassEnergyBudget::total.