Slope a C. Fierz class ;-) to handle the multiple expositions in Snowpack standalone.
#include <DataClasses.h>
|
| | Slope (const mio::Config &cfg) |
| |
| unsigned int | getSectorDir (const double &dir_or_expo) const |
| | Determine either direction of blowing wind or slope exposition. NOTE that station slope.first always corresponds to the prevailing wind direction.
|
| |
| void | setSlope (const unsigned int slope_sequence, std::vector< SnowStation > &vecXdata, double &wind_dir) |
| | Set slope variables.
|
| |
◆ Slope()
| Slope::Slope |
( |
const mio::Config & |
cfg | ) |
|
◆ getSectorDir()
| unsigned int Slope::getSectorDir |
( |
const double & |
dir_or_expo | ) |
const |
Determine either direction of blowing wind or slope exposition. NOTE that station slope.first always corresponds to the prevailing wind direction.
- Parameters
-
| dir_or_expo | direction of wind or exposition |
◆ setSlope()
| void Slope::setSlope |
( |
const unsigned int |
slope_sequence, |
|
|
std::vector< SnowStation > & |
vecXdata, |
|
|
double & |
wind_dir |
|
) |
| |
Set slope variables.
- Parameters
-
| slope_sequence | computation sequence for slopes |
| vecXdata | |
| wind_dir | direction of wind |
◆ first
| unsigned int Slope::first |
first virtual slope station in computing sequence
◆ lee
◆ luv
◆ luvDriftIndex
| bool Slope::luvDriftIndex |
◆ mainStation
| unsigned int Slope::mainStation |
main station, flat field or slope
◆ mainStationDriftIndex
| bool Slope::mainStationDriftIndex |
◆ north
◆ nSlopes
| unsigned int Slope::nSlopes |
◆ prevailing_wind_dir
| double Slope::prevailing_wind_dir |
◆ sector
| unsigned int Slope::sector |
main station (0) or current slope sector (1:nSlopes)
◆ snow_erosion
◆ snow_redistribution
| bool Slope::snow_redistribution |
◆ south
The documentation for this class was generated from the following files: