![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
Species treatment and reactions in LID node storage. More...
#include "LidNode.hpp"#include "../core/SimulationContext.hpp"#include "../core/UnitConversion.hpp"#include "../quality/Treatment.hpp"#include <algorithm>#include <cmath>#include <sstream>#include <limits>Namespaces | |
| namespace | openswmm |
| namespace | openswmm::lidnode |
Functions | |
| bool | openswmm::lidnode::validTreatment (const SimulationContext &ctx, const LidLayerTreatment &rule, std::string &error) |
| Validate a layer pollutant rule and optional legacy treatment expression. | |
| void | openswmm::lidnode::readTreatment (SimulationContext &ctx, const std::vector< std::string > &lines) |
| Parse authored node-LID layer treatment rows. | |
| void | openswmm::lidnode::prepareQuality (SimulationContext &ctx, double dt) |
| Apply accepted LID vertical/retained-port transfers and resident decay to pollutant mass. | |
| void | openswmm::lidnode::prepareOutletQuality (SimulationContext &ctx, double dt, bool book_reaction) |
| Refresh mobile outlet treatment against the current coupled node mixture. | |
| bool | openswmm::lidnode::receiveQuality (SimulationContext &ctx, int node, int link, double volume, int pollutant, double mass, double dt) |
| Divert the retained fraction of an arriving pollutant load into its LID port cell. | |
| double | openswmm::lidnode::outletQuality (const SimulationContext &ctx, int node, int link, int pollutant, double fallback) |
| Read a cached treated outlet concentration with a caller fallback. | |
| double | openswmm::lidnode::heldMass (const SimulationContext &ctx, int node, int pollutant) |
| Sum retained pollutant inventory across all initialized LID cells. | |
Species treatment and reactions in LID node storage.