![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
SoA storage for LID control type definitions. More...
#include <HydrologyData.hpp>
Public Member Functions | |
| int | count () const |
| Count LidControlStore rows from the names column. | |
Public Attributes | |
| std::vector< std::vector< LidNodeLayer > > | node_layers |
| std::vector< std::string > | names |
| std::vector< std::string > | lid_type |
| LID type code string: BC, RG, GR, IT, PP, RB, RD, VS. | |
| std::vector< std::array< double, 5 > > | surface |
| SURFACE layer params (up to 5 values). | |
| std::vector< std::array< double, 7 > > | soil |
| SOIL layer params (up to 7 values). | |
| std::vector< std::array< double, 6 > > | pavement |
| PAVEMENT layer params (up to 6 values). | |
| std::vector< std::array< double, 4 > > | storage |
| STORAGE layer params (up to 4 values). | |
| std::vector< std::array< double, 6 > > | drain |
| DRAIN layer params (up to 6 values). | |
| std::vector< std::string > | drain_curve |
| std::vector< std::array< double, 3 > > | drainmat |
| DRAINMAT layer params (up to 3 values). | |
| std::vector< std::vector< std::pair< int, double > > > | removals |
| REMOVALS: per-LID pollutant removal fractions. removals[lid_index] = vector of {pollutant_index, fraction} pairs. | |
| std::vector< std::vector< std::pair< std::string, double > > > | removals_by_name |
| REMOVALS entries naming something that was not a pollutant when the row was read: a reaction species, or a pollutant declared later in the file. Kept by name and bound by msxsurf::resolve (Multispecies Phase 2); the writer emits them so they survive a save. | |
SoA storage for LID control type definitions.
Each LID control has a type code and up to 7 parameter layers (SURFACE, SOIL, PAVEMENT, STORAGE, DRAIN, DRAINMAT, REMOVALS). Parameters are stored as raw arrays since the LID module expects specific data layout.
|
inline |
Count LidControlStore rows from the names column.
| std::vector<std::array<double, 6> > openswmm::LidControlStore::drain |
DRAIN layer params (up to 6 values).
| std::vector<std::string> openswmm::LidControlStore::drain_curve |
| std::vector<std::array<double, 3> > openswmm::LidControlStore::drainmat |
DRAINMAT layer params (up to 3 values).
| std::vector<std::string> openswmm::LidControlStore::lid_type |
LID type code string: BC, RG, GR, IT, PP, RB, RD, VS.
| std::vector<std::string> openswmm::LidControlStore::names |
| std::vector<std::vector<LidNodeLayer> > openswmm::LidControlStore::node_layers |
| std::vector<std::array<double, 6> > openswmm::LidControlStore::pavement |
PAVEMENT layer params (up to 6 values).
| std::vector<std::vector<std::pair<int, double> > > openswmm::LidControlStore::removals |
REMOVALS: per-LID pollutant removal fractions. removals[lid_index] = vector of {pollutant_index, fraction} pairs.
| std::vector<std::vector<std::pair<std::string, double> > > openswmm::LidControlStore::removals_by_name |
REMOVALS entries naming something that was not a pollutant when the row was read: a reaction species, or a pollutant declared later in the file. Kept by name and bound by msxsurf::resolve (Multispecies Phase 2); the writer emits them so they survive a save.
| std::vector<std::array<double, 7> > openswmm::LidControlStore::soil |
SOIL layer params (up to 7 values).
| std::vector<std::array<double, 4> > openswmm::LidControlStore::storage |
STORAGE layer params (up to 4 values).
| std::vector<std::array<double, 5> > openswmm::LidControlStore::surface |
SURFACE layer params (up to 5 values).