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

Top-level routing dispatcher — KW / DW / Steady-state. More...

#include "XSectBatch.hpp"
#include "KinematicWave.hpp"
#include "DynamicWave.hpp"
#include "Divider.hpp"
Include dependency graph for Routing.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  openswmm::Router
 Top-level routing orchestrator. More...
 

Namespaces

namespace  openswmm
 

Enumerations

enum class  openswmm::RouteModel : int {
  openswmm::STEADY = 0 ,
  openswmm::KINWAVE = 1 ,
  openswmm::DYNWAVE = 2
}
 

Detailed Description

Top-level routing dispatcher — KW / DW / Steady-state.

Orchestrates the routing step:

  1. Save old hydraulic states
  2. Initialize node flows (lateral inflows)
  3. Dispatch to KinematicWave or DynamicWave solver
  4. Update node/link final states
  5. Update mass balance accumulators
Note
Legacy reference: src/legacy/engine/routing.c, flowrout.c
Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
License\n MIT License