![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
The arriving-water rate at a subarea — shared by every species track on the watershed surface. More...
#include <cstddef>Go to the source code of this file.
Namespaces | |
| namespace | openswmm |
| namespace | openswmm::transport |
Functions | |
| double | openswmm::transport::arrivingPrecipRate (const SimulationContext &ctx, std::size_t ui, int subarea) noexcept |
| Net precipitation actually reaching one subarea this step [ft/s]. | |
| double | openswmm::transport::arrivingMeltFraction (const SimulationContext &ctx, std::size_t ui, int subarea) noexcept |
| Fraction of the arriving water that is MELTWATER, in [0, 1]. | |
| double | openswmm::transport::arrivingPrecipTemperature (const SimulationContext &ctx, std::size_t ui, int subarea) noexcept |
| Temperature of the water arriving at one subarea [°C] (S2). | |
| double | openswmm::transport::arrivingPrecipAge (const SimulationContext &ctx, std::size_t ui, int subarea) noexcept |
| Water age of the water arriving at one subarea [seconds] (S2b). | |
Variables | |
| constexpr int | openswmm::transport::kSubIMPERV0 = 0 |
| constexpr int | openswmm::transport::kSubIMPERV1 = 1 |
| constexpr int | openswmm::transport::kSubPERV = 2 |
| constexpr double | openswmm::transport::kMeltwaterTempC = 0.0 |
The arriving-water rate at a subarea — shared by every species track on the watershed surface.
A3 and H5a each read ctx.subcatches.rainfall as "how much water
landed on this subarea this step". On a subcatchment with a SNOWPACK that is the wrong field, and wrong in two directions at once. This header is the one place that knows which field is right, so the two tracks cannot drift apart on it — the LidLayerCommon move, for the same reason.