OpenSWMM Engine  6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
Loading...
Searching...
No Matches
KinematicWave.cpp File Reference

Kinematic wave routing — batch-oriented, numerically identical to legacy. More...

#include "KinematicWave.hpp"
#include "XSectBatch.hpp"
#include <cmath>
#include <algorithm>
Include dependency graph for KinematicWave.cpp:

Namespaces

namespace  openswmm
 
namespace  openswmm::kinwave
 

Detailed Description

Kinematic wave routing — batch-oriented, numerically identical to legacy.

The solver is structured as:

  1. Gather inflows for all conduits
  2. Batch-compute inlet areas from inflows (via section factor inversion)
  3. Per-conduit Newton solve for outlet area (grouped by shape where possible)
  4. Batch-compute outflows from outlet areas (via section factor)
  5. Scatter results back to global link arrays
Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
License\n MIT License