![]() |
OpenSWMM Engine
6.0.0-alpha.3
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.3)
|
Enumerations | |
| enum class | DividerMethod : int { CUTOFF = 0 , OVERFLOW_DIV = 1 , TABULAR = 2 , WEIR = 3 } |
Functions | |
| void | computeDividerFlows (SimulationContext &ctx, const DividerData &divs) |
| Compute diversion flows for all divider nodes. | |
|
strong |
| void openswmm::divider::computeDividerFlows | ( | SimulationContext & | ctx, |
| const DividerData & | divs ) |
Compute diversion flows for all divider nodes.
For each divider:
Reads the relational DividerData side-table (ctx.node_subtypes.dividers), which replaces the former standalone DividerSoA. The data is identical (same dividers, same node-index order, same fields) so results are unchanged; the side-table is simply the single source of truth.
| ctx | Simulation context. |
| divs | Divider side-table (ctx.node_subtypes.dividers). |