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

◆ compute_enthalpy()

void pism::energy::compute_enthalpy ( const array::Array3D temperature,
const array::Array3D liquid_water_fraction,
const array::Scalar ice_thickness,
array::Array3D result 
)

Compute result (enthalpy) from temperature and liquid fraction.

Definition at line 105 of file utilities.cc.

References pism::array::Array3D::get_column(), pism::array::Array::grid(), pism::array::Array::inc_state_counter(), pism::k, and pism::array::Array::update_ghosts().

Referenced by pism::energy::EnergyModel::init_enthalpy().