This class contains the computation of local snow drift and the associated erosion.
#include <SnowDrift.h>
Public Member Functions | |
SnowDrift (const SnowpackConfig &i_cfg) | |
void | compSnowDrift (const CurrentMeteo &Mdata, SnowStation &Xdata, SurfaceFluxes &Sdata, double &cumu_psum) const |
Erodes Elements from the top and computes the associated mass flux Even so the code is quite obscure, it should cover all of the following cases: More... | |
Static Public Attributes | |
static const double | schmidt_drift_fudge = 1.0 |
Deviation from geometrical factors defined by Schmidt. More... | |
SnowDrift::SnowDrift | ( | const SnowpackConfig & | i_cfg | ) |
void SnowDrift::compSnowDrift | ( | const CurrentMeteo & | Mdata, |
SnowStation & | Xdata, | ||
SurfaceFluxes & | Sdata, | ||
double & | forced_massErode | ||
) | const |
Erodes Elements from the top and computes the associated mass flux Even so the code is quite obscure, it should cover all of the following cases:
Mdata | |
Xdata | |
Sdata | |
forced_massErode | if greater than 0, force the eroded mass to the given value (instead of computing it) |
|
static |
Deviation from geometrical factors defined by Schmidt.