Initialize enthalpy by reading it from a file, or by reading temperature and liquid water fraction, or by reading the temperature field alone.
Definition at line 135 of file EnergyModel.cc.
References pism::energy::compute_enthalpy(), pism::energy::compute_enthalpy_cold(), pism::File::filename(), pism::File::find_variable(), pism::RuntimeError::formatted(), pism::VariableMetadata::get_name(), pism::VariableMetadata::long_name(), pism::Component::m_grid, m_ice_enthalpy, pism::Component::m_log, m_work, pism::array::Array::metadata(), pism::io::Default::Nil(), PISM_ERROR_LOCATION, pism::array::Array::read(), pism::array::Array::regrid(), pism::array::Array::set_name(), pism::VariableMetadata::set_name(), pism::VariableMetadata::standard_name(), and pism::VariableMetadata::units().
Referenced by regrid_enthalpy(), pism::energy::CHSystem::restart_impl(), pism::energy::EnthalpyModel::restart_impl(), and pism::energy::TemperatureModel::restart_impl().