![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
Multispecies reactions in LID storage and treatment layers. More...
#include "MsxLidReactions.hpp"#include "../core/SimulationContext.hpp"#include "../hydrology/LidNode.hpp"#include "../transport/components/ReactionModule/MsxLegacyTransport.hpp"#include "../transport/components/ReactionModule/ReactionIntegrator.hpp"#include "../transport/components/ReactionModule/ReactionLegacyBinding.hpp"#include "QualityRouting.hpp"#include <algorithm>#include <cmath>#include <limits>#include <optional>Namespaces | |
| namespace | openswmm |
| namespace | openswmm::msxlid |
Functions | |
| bool | openswmm::msxlid::reactPool (SimulationContext &c, int control, int layer, double volume, double *mass, double dt, double temp, std::vector< double > &reacted, std::vector< double > &clamped) |
| React one finite native LID water pool through scoped compiled species laws. | |
| void | openswmm::msxlid::initialize (SimulationContext &c) |
| Ensure opted-in native LID-node layer species stores exist at current seed phase. | |
| double | openswmm::msxlid::heldMass (const SimulationContext &c, int node, int species) |
| Sum one node's held layer inventory for a reaction species. | |
| double | openswmm::msxlid::mobileWater (const SimulationContext &c, int node, double fallback) |
| Read the retained native LID-node mobile water history with caller fallback. | |
| void | openswmm::msxlid::prepareNodes (SimulationContext &c, double dt) |
| Replay accepted native LID water transfers into layer/mobile species inventories before routing. | |
| double | openswmm::msxlid::outlet (const SimulationContext &c, int node, int link, int species, double fallback) |
| Read a prepared node-layer outlet concentration for one link/species. | |
| double | openswmm::msxlid::receive (SimulationContext &c, int node, int link, double water, int species, double rate, double dt) |
| Capture an accepted incoming link native mass-rate share into the first matching LID port. | |
| void | openswmm::msxlid::reactNodes (SimulationContext &c, double dt) |
| React native LID-node held layer pools and weighted mobile water portions once per interval. | |
| bool | openswmm::msxlid::reactedSubcatchment (const SimulationContext &c, int sc) |
| Test the prepared conventional-LID reactive subcatchment mask. | |
Multispecies reactions in LID storage and treatment layers.