![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
Roadway overtopping flow calculations. More...
Macros | |
| #define | _CRT_SECURE_NO_DEPRECATE |
Enumerations | |
| enum | RoadSurface { PAVED = 1 , GRAVEL = 2 } |
Functions | |
| double | roadway_getInflow (int j, double dir, double hRoad, double h1, double h2) |
| Compute signed roadway overtopping discharge and its head derivative. | |
Roadway overtopping flow calculations.
| #define _CRT_SECURE_NO_DEPRECATE |
| enum RoadSurface |
| double roadway_getInflow | ( | int | j, |
| double | dir, | ||
| double | hRoad, | ||
| double | h1, | ||
| double | h2 ) |
Compute signed roadway overtopping discharge and its head derivative.
| [in] | j | Valid link index; non-WEIR links return zero without state updates. |
| [in] | dir | Flow direction multiplier, normally +1 or -1. |
| [in] | hRoad | Road crest elevation in feet. |
| [in] | h1 | Higher/upstream hydraulic head in feet for the selected direction. |
| [in] | h2 | Lower/downstream hydraulic head in feet. |