![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
Legacy snow accumulation, removal, and melt calculations. More...
Macros | |
| #define | _CRT_SECURE_NO_DEPRECATE |
Enumerations | |
| enum | SnowKeywords { SNOW_PLOWABLE , SNOW_IMPERV , SNOW_PERV , SNOW_REMOVAL } |
Functions | |
| int | snow_readMeltParams (char *tok[], int ntoks) |
| Reads snowmelt parameters from a tokenized line of input data. | |
| int | snow_createSnowpack (int subcatchIndex, int snowIndex) |
| Allocate a subcatchment snowpack and associate its snowmelt parameters. | |
| void | snow_initSnowpack (int subcatchIndex) |
| Initialize a subcatchment's three snow surfaces and aggregate snow depth. | |
| void | snow_initSnowmelt (int snowIndex) |
| Set default values for a snowmelt parameter set. | |
| void | snow_validateSnowmelt (int snowIndex) |
| Check melt coefficient ordering and fractional snowpack parameters. | |
| void | snow_getState (int i, int j, double x[]) |
| Copy one snow surface's five-component hotstart state. | |
| void | snow_setState (int subcatchIndex, int subAreaIndex, double x[]) |
| Restore one snow surface's five-component hotstart state. | |
| void | snow_setMeltCoeffs (int snowIndex, double season) |
| Interpolate all three surfaces' seasonal melt coefficients. | |
| void | snow_plowSnow (int subcatchIndex, double tStep) |
| Accumulate snowfall and redistribute/plow snow above the trigger depth. | |
| double | snow_getSnowMelt (int subcatchIndex, double rainfall, double snowfall, double tStep, double netPrecip[]) |
| Melt and route a snowpack and supply liquid precipitation to runoff areas. | |
| double | snow_getSnowCover (int subcatchIndex) |
| Sum stored snow and free-water volume over a subcatchment's non-LID area. | |
Legacy snow accumulation, removal, and melt calculations.
| #define _CRT_SECURE_NO_DEPRECATE |
| enum SnowKeywords |