![]() |
OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
|
Structure-of-Arrays (SoA) storage for pollutants and water quality. More...
#include <vector>#include <string>#include <cstdint>Go to the source code of this file.
Classes | |
| struct | openswmm::PollutantData |
| Static properties for each pollutant species. More... | |
Namespaces | |
| namespace | openswmm |
Enumerations | |
| enum class | openswmm::MassUnits : int8_t { openswmm::MG_PER_L = 0 , openswmm::UG_PER_L = 1 , openswmm::COUNTS_PER_L = 2 } |
| Pollutant concentration units. More... | |
Structure-of-Arrays (SoA) storage for pollutants and water quality.
Replaces the global Pollut[] array and TPollut struct from src/solver/objects.h. Per-object quality arrays (concentrations at nodes/links/subcatchments) are stored as flat 2D arrays indexed as: [object_index * n_pollutants + pollutant_index]