![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
Kinematic wave routing — batch-oriented, numerically identical to legacy. More...
#include "KinematicWave.hpp"#include "XSectBatch.hpp"#include "../core/SimulationContext.hpp"#include "../core/UnitConversion.hpp"#include "HydStructures.hpp"#include "Node.hpp"#include "Divider.hpp"#include <cmath>#include <algorithm>Namespaces | |
| namespace | openswmm |
| namespace | openswmm::kinwave |
Functions | |
| double | openswmm::kinwave::getLinkInflow (SimulationContext &ctx, hydstruct::StructureSolver *structures, int j, double dt) |
| Flow into the upstream end of a link under Steady/Kin. Wave routing. | |
| void | openswmm::kinwave::updateStorageState (SimulationContext &ctx, hydstruct::StructureSolver *structures, const std::vector< int > &order, int pos, int i, double dt) |
| Update a storage node's depth & volume by successive approximation. | |
| void | openswmm::kinwave::finishRouting (SimulationContext &ctx, hydstruct::StructureSolver *structures, const std::vector< int > &order, const std::vector< char > &storage_updated, const std::vector< double > &link_y1, const std::vector< double > &link_y2, double dt) |
| End-of-step node/link state for tree-layout routing (KW/steady). | |
Kinematic wave routing — batch-oriented, numerically identical to legacy.
The solver is structured as: