![]() |
OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
|
#include <QualityRouting.hpp>
Public Member Functions | |
| void | init (int n_nodes, int n_links, int n_pollutants) |
| void | execute (SimulationContext &ctx, double dt) |
| Execute one quality routing timestep. | |
| void | addWetWeatherLoads (SimulationContext &ctx, double dt) |
| Add subcatchment washoff quality loads to node inflows. | |
| void openswmm::quality::QualitySolver::addWetWeatherLoads | ( | SimulationContext & | ctx, |
| double | dt | ||
| ) |
Add subcatchment washoff quality loads to node inflows.
For each subcatchment with runoff, adds the washoff concentration × flow as mass inflow to the outlet node. Matches legacy addWetWeatherInflows() in routing.c.
| void openswmm::quality::QualitySolver::execute | ( | SimulationContext & | ctx, |
| double | dt | ||
| ) |
Execute one quality routing timestep.
| ctx | Simulation context. |
| dt | Timestep (seconds). |
| void openswmm::quality::QualitySolver::init | ( | int | n_nodes, |
| int | n_links, | ||
| int | n_pollutants | ||
| ) |