![]() |
OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
|
Per-element runtime forcing state — SoA layout. More...
#include <cstdint>#include <vector>Go to the source code of this file.
Classes | |
| struct | openswmm::ForcingData |
Namespaces | |
| namespace | openswmm |
Enumerations | |
| enum class | openswmm::ForcingMode : int8_t { openswmm::NONE = 0 , openswmm::OVERRIDE = 1 , openswmm::ADD = 2 } |
| enum class | openswmm::ForcingPersist : int8_t { openswmm::RESET = 0 , openswmm::PERSIST = 1 } |
Per-element runtime forcing state — SoA layout.
Stores user-injected forcing mode, value, and persistence for every forceable quantity (lateral inflow, head boundary, rainfall, evaporation, link setting, quality mass flux). Each forcing channel has three parallel arrays:
Applied by SWMMEngine::applyForcings() at the start of each routing step. Auto-cleared by clear_reset_entries() at end of step.