PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900
Namespaces | Functions
utilities.hh File Reference

Go to the source code of this file.

Namespaces

 pism
 
 pism::array
 
 pism::energy
 Energy balance models and utilities.
 

Functions

void pism::energy::compute_temperature (const array::Array3D &enthalpy, const array::Scalar &ice_thickness, array::Array3D &result)
 
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. More...
 
void pism::energy::compute_enthalpy_cold (const array::Array3D &temperature, const array::Scalar &ice_thickness, array::Array3D &result)
 Compute ice enthalpy from temperature temperature by assuming the ice has zero liquid fraction. More...
 
void pism::energy::compute_liquid_water_fraction (const array::Array3D &enthalpy, const array::Scalar &ice_thickness, array::Array3D &result)
 Compute the liquid fraction corresponding to enthalpy and ice_thickness. More...
 
void pism::energy::compute_cts (const array::Array3D &ice_enthalpy, const array::Scalar &ice_thickness, array::Array3D &result)
 Compute the CTS field, CTS = E/E_s(p), from ice_enthalpy and ice_thickness, and put in result. More...
 
double pism::energy::total_ice_enthalpy (double thickness_threshold, const array::Array3D &ice_enthalpy, const array::Scalar &ice_thickness)
 Computes the total ice enthalpy in J. More...
 
void pism::energy::bootstrap_ice_temperature (const array::Scalar &ice_thickness, const array::Scalar &ice_surface_temp, const array::Scalar &surface_mass_balance, const array::Scalar &basal_heat_flux, array::Array3D &result)
 Create a temperature field within the ice from provided ice thickness, surface temperature, surface mass balance, and geothermal flux. More...
 
void pism::energy::bootstrap_ice_enthalpy (const array::Scalar &ice_thickness, const array::Scalar &ice_surface_temp, const array::Scalar &surface_mass_balance, const array::Scalar &basal_heat_flux, array::Array3D &result)