![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
#include <ReactionData.hpp>
Public Member Functions | |
| void | arm (std::size_t ns) |
| Zero and activate the legacy MSX routing ledger. | |
Public Attributes | |
| bool | armed = false |
| std::vector< double > | init |
| std::vector< double > | inflow |
| std::vector< double > | outflow |
| std::vector< double > | flooding |
| std::vector< double > | seepage |
| std::vector< double > | reacted |
| std::vector< double > | clamped |
| std::vector< double > | final_dry |
Review B14 (2026-10-15): the reaction-species routing ledger under QUALITY_SOLVER LEGACY, per species, in conc-units × ft³ (the pollutant ledger's convention). Armed by the first routeLegacyMsx call; ARD keeps its own ledger and LARD is not yet booked here. init + inflow + clamped = outflow + flooding + seepage + reacted
|
inline |
Zero and activate the legacy MSX routing ledger.
Sets armed before independent zero-filled vector assignments; allocation failure can leave partially resized columns. Ledger quantities are concentration-units*ft3.
| [in] | ns | Reaction species count used for every ledger column. |
| bool openswmm::ReactionData::MsxRoutingLedger::armed = false |
| std::vector<double> openswmm::ReactionData::MsxRoutingLedger::clamped |
| std::vector<double> openswmm::ReactionData::MsxRoutingLedger::final_dry |
| std::vector<double> openswmm::ReactionData::MsxRoutingLedger::flooding |
| std::vector<double> openswmm::ReactionData::MsxRoutingLedger::inflow |
| std::vector<double> openswmm::ReactionData::MsxRoutingLedger::init |
| std::vector<double> openswmm::ReactionData::MsxRoutingLedger::outflow |
| std::vector<double> openswmm::ReactionData::MsxRoutingLedger::reacted |
| std::vector<double> openswmm::ReactionData::MsxRoutingLedger::seepage |