OpenSWMM Engine  6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
QualityRouting.cpp File Reference

Water quality routing — batch SoA, numerically identical to legacy. More...

Include dependency graph for QualityRouting.cpp:

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.
 

Detailed Description

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.

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
License\n Apache-2.0