SNOWPACK 3.7.0
SnowDrift Class Reference

Detailed Description

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...
 

Constructor & Destructor Documentation

◆ SnowDrift()

SnowDrift::SnowDrift ( const SnowpackConfig i_cfg)

Member Function Documentation

◆ compSnowDrift()

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:

  1. Externally provided eroded mass (for example, by Alpine3D); see parameter forced_massErode
  2. SNOW_REDISTRIBUTION is true: using vw_drift to erode the snow surface on the windward virtual slope
  3. SNOW_EROSION is true: using vw to erode the snow surface at the main station (flat field or slope).
    Note
    However, erosion will also be controlled by mH and thus a measured snow depth (HS1) is required
    If either measured snow depth is missing or the conditions for a real erosion are not fulfilled, the possibility of a virtual erosion will be considered using the ErosionLevel marker (virtual erodible layer).
    Parameters
    Mdata
    Xdata
    Sdata
    forced_massErodeif greater than 0, force the eroded mass to the given value (instead of computing it)

Member Data Documentation

◆ schmidt_drift_fudge

const double SnowDrift::schmidt_drift_fudge = 1.0
static

Deviation from geometrical factors defined by Schmidt.


The documentation for this class was generated from the following files: