PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800
Namespaces | Functions
utilities.cc File Reference
#include "pism/energy/utilities.hh"
#include "pism/energy/bootstrapping.hh"
#include "pism/util/ConfigInterface.hh"
#include "pism/util/Context.hh"
#include "pism/util/EnthalpyConverter.hh"
#include "pism/util/Grid.hh"
#include "pism/util/Logger.hh"
#include "pism/util/VariableMetadata.hh"
#include "pism/util/array/Array3D.hh"
#include "pism/util/array/Scalar.hh"
#include "pism/util/error_handling.hh"
#include "pism/util/pism_utilities.hh"

Go to the source code of this file.

Namespaces

 pism
 
 pism::energy
 Energy balance models and utilities.
 

Functions

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_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_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)