#include <DataClasses.h>
|
enum | SN_MASS_CHANGES {
MS_TOTALMASS,
MS_SWE,
MS_WATER,
MS_HNW,
MS_RAIN,
MS_WIND,
MS_EVAPORATION,
MS_SUBLIMATION,
MS_SNOWPACK_RUNOFF,
MS_SOIL_RUNOFF,
N_MASS_CHANGES
} |
| The different types of mass fluxes: Mass fluxes in kg m-2
Rates in kg m-2 h-1 (MS_HNW, MS_RAIN and MS_WIND) More...
|
|
|
double | lw_in |
| Energy fluxes: Energy change of snowpack in kJ m-2 (dIntEnergy)
Fluxes in W m-2. More...
|
|
double | lw_out |
| outgoing longwave radiation More...
|
|
double | lw_net |
| net longwave radiation More...
|
|
double | qs |
| sensible heat More...
|
|
double | ql |
| latent heat More...
|
|
double | hoar |
| mass of surface hoar formed or sublimated More...
|
|
double | qr |
| rain energy More...
|
|
double | qg |
| geothermal heat flux or heat flux at lower boundary More...
|
|
double | qg0 |
| ground heat flux at soil-snow interface More...
|
|
double | sw_hor |
| incoming global shortwave radiation on horizontal surface More...
|
|
double | sw_in |
| incoming global shortwave radiation; on slopes: projected More...
|
|
double | sw_out |
| reflected shortwave radiation More...
|
|
double | qw |
| net shortwave radiation at the surface (absorbed within the snowpack) More...
|
|
double | sw_dir |
| incoming direct shortwave radiation; on slopes: projected More...
|
|
double | sw_diff |
| incoming diffuse shortwave radiation More...
|
|
double | pAlbedo |
| parameterized Albedo (used for OUTPUT only) More...
|
|
double | mAlbedo |
| measured Albedo (used for OUTPUT only) More...
|
|
double | dIntEnergy |
| Internal energy change in J m-2 in snowpack (used for OUTPUT only) More...
|
|
double | dIntEnergySoil |
| Internal energy change in J m-2 in soil (used for OUTPUT only) More...
|
|
double | meltFreezeEnergy |
| Melt freeze part of internal energy change in J m-2 in snowpack (used for OUTPUT only) More...
|
|
double | meltFreezeEnergySoil |
| Melt freeze part of internal energy change in J m-2 in soil (used for OUTPUT only) More...
|
|
double | drift |
| Other surface data: More...
|
|
std::vector< double > | mass |
| Total mass of snowpack PLUS different amounts of total mass change, sublimation, runoff, erosion, etc. Basically the mass which crosses the surface. More...
|
|
std::vector< double > | load |
| Total load (kg m-2) in water runoff from solutes like nitrate. More...
|
|
double | dhs_corr |
| operational mode only: snow depth correction in case of squeezing or blow-up (m) More...
|
|
double | cRho_hn |
| Computed new snow density (kg m-3) More...
|
|
double | mRho_hn |
| Measured new snow density (kg m-3) More...
|
|
The different types of mass fluxes: Mass fluxes in kg m-2
Rates in kg m-2 h-1 (MS_HNW, MS_RAIN and MS_WIND)
Enumerator |
---|
MS_TOTALMASS |
This of course is the total mass of the snowpack at the present time.
|
MS_SWE |
This too, of course, but summing rho*L.
|
MS_WATER |
The total amount of water in the snowpack at the present time.
|
MS_HNW |
Solid precipitation rate.
|
MS_RAIN |
Rain rate.
|
MS_WIND |
Mass loss rate due to wind erosion.
|
MS_EVAPORATION |
The mass loss or gain of the top element due to water evaporating.
|
MS_SUBLIMATION |
The mass loss or gain of the top element due to snow (ice) sublimating.
|
MS_SNOWPACK_RUNOFF |
The total mass loss of snowpack due to water transport (virtual lysimeter)
|
MS_SOIL_RUNOFF |
Equivalent to MS_SNOWPACK_RUNOFF but at bottom soil node.
|
N_MASS_CHANGES |
Total number of different mass change types.
|
SurfaceFluxes::SurfaceFluxes |
( |
| ) |
|
void SurfaceFluxes::compSnowSoilHeatFlux |
( |
const SnowStation & |
Xdata | ) |
|
Compute ground heat flux at soil/snow boundary.
- Parameters
-
void SurfaceFluxes::multiplyFluxes |
( |
const double & |
factor | ) |
|
If multiple surface fluxes have been summed over multiple time steps, the fluxes then need to be averaged by the number of steps. The albedos are also averaged in this method.
- Parameters
-
factor | Averaging factor (for example, 1/Nsteps) |
void SurfaceFluxes::reset |
( |
const bool & |
cumsum_mass | ) |
|
const std::string SurfaceFluxes::toString |
( |
| ) |
const |
std::iostream& operator<< |
( |
std::iostream & |
os, |
|
|
const SurfaceFluxes & |
data |
|
) |
| |
|
friend |
std::iostream& operator>> |
( |
std::iostream & |
is, |
|
|
SurfaceFluxes & |
data |
|
) |
| |
|
friend |
double SurfaceFluxes::cRho_hn |
Computed new snow density (kg m-3)
double SurfaceFluxes::dhs_corr |
operational mode only: snow depth correction in case of squeezing or blow-up (m)
double SurfaceFluxes::dIntEnergy |
Internal energy change in J m-2 in snowpack (used for OUTPUT only)
double SurfaceFluxes::dIntEnergySoil |
Internal energy change in J m-2 in soil (used for OUTPUT only)
double SurfaceFluxes::drift |
Other surface data:
the surface flux of drifting snow in kg m-1 s-1
double SurfaceFluxes::hoar |
mass of surface hoar formed or sublimated
std::vector<double> SurfaceFluxes::load |
Total load (kg m-2) in water runoff from solutes like nitrate.
double SurfaceFluxes::lw_in |
Energy fluxes: Energy change of snowpack in kJ m-2 (dIntEnergy)
Fluxes in W m-2.
incoming longwave radiation
double SurfaceFluxes::lw_net |
double SurfaceFluxes::lw_out |
outgoing longwave radiation
double SurfaceFluxes::mAlbedo |
measured Albedo (used for OUTPUT only)
std::vector<double> SurfaceFluxes::mass |
Total mass of snowpack PLUS different amounts of total mass change, sublimation, runoff, erosion, etc. Basically the mass which crosses the surface.
double SurfaceFluxes::meltFreezeEnergy |
Melt freeze part of internal energy change in J m-2 in snowpack (used for OUTPUT only)
double SurfaceFluxes::meltFreezeEnergySoil |
Melt freeze part of internal energy change in J m-2 in soil (used for OUTPUT only)
double SurfaceFluxes::mRho_hn |
Measured new snow density (kg m-3)
double SurfaceFluxes::pAlbedo |
parameterized Albedo (used for OUTPUT only)
geothermal heat flux or heat flux at lower boundary
double SurfaceFluxes::qg0 |
ground heat flux at soil-snow interface
net shortwave radiation at the surface (absorbed within the snowpack)
double SurfaceFluxes::sw_diff |
incoming diffuse shortwave radiation
double SurfaceFluxes::sw_dir |
incoming direct shortwave radiation; on slopes: projected
double SurfaceFluxes::sw_hor |
incoming global shortwave radiation on horizontal surface
double SurfaceFluxes::sw_in |
incoming global shortwave radiation; on slopes: projected
double SurfaceFluxes::sw_out |
reflected shortwave radiation
The documentation for this class was generated from the following files: