![]() |
OpenSWMM Engine
6.0.0-alpha.3
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.3)
|
Dynamic wave routing – batch-oriented St. Venant equations. More...
#include "DynamicWave.hpp"#include "Node.hpp"#include "Outfall.hpp"#include "XSectBatch.hpp"#include "ForceMain.hpp"#include "Culvert.hpp"#include "../core/Constants.hpp"#include "../core/SimulationContext.hpp"#include "../core/UnitConversion.hpp"#include "../math/SIMD.hpp"#include <cmath>#include <algorithm>#include <cstdlib>#include <numeric>Namespaces | |
| namespace | openswmm |
| namespace | openswmm::dynwave |
Variables | |
| constexpr double | openswmm::dynwave::SQRT_GRAVITY |
| sqrt(GRAVITY) — precomputed to avoid per-element std::sqrt in Froude calc. | |
| constexpr double | openswmm::dynwave::INV_SQRT_GRAVITY |
| 1.0 / sqrt(GRAVITY) — multiply instead of divide in Froude computation. | |
Dynamic wave routing – batch-oriented St. Venant equations.
The solver follows this pattern per Picard iteration: