![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
Water quality routing — batch SoA, numerically identical to legacy. More...
#include "QualityRouting.hpp"#include "../transport/components/EulerianArdComponent/ArdConfig.hpp"#include "../transport/components/ReactionModule/MsxLegacyTransport.hpp"#include "../transport/components/ReactionModule/ReactionLegacyBinding.hpp"#include "../transport/components/HeatFluxModules/BedExchange.hpp"#include "../transport/components/HeatModule/HeatLegacy.hpp"#include "../transport/components/WaterAgeModule/WaterAgeLegacy.hpp"#include "NegativeSources.hpp"#include "Treatment.hpp"#include "../core/SimulationContext.hpp"#include "../core/UnitConversion.hpp"#include "../hydraulics/Node.hpp"#include "../math/SIMD.hpp"#include <cmath>#include <algorithm>#include <vector>Namespaces | |
| namespace | openswmm |
| namespace | openswmm::quality |
Functions | |
| void | openswmm::quality::applyNodeTreatment (SimulationContext &ctx, int node, double dt, double q_in_cfs, const double *cin) |
| One node's [TREATMENT] application, against the CALLER's inflow figures — the seam the LEGACY pass and the LARD MIX share. | |
Water quality routing — batch SoA, numerically identical to legacy.
All quality operations use flat [node*n_pollutants+p] indexing for cache-friendly batch processing. Inner loops are vectorisable.