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

Flow divider — numerically identical to legacy node.c divider logic. More...

#include "Divider.hpp"
#include "../core/SimulationContext.hpp"
#include <cmath>
#include <algorithm>
Include dependency graph for Divider.cpp:

Namespaces

namespace  openswmm
 
namespace  openswmm::divider
 

Functions

void openswmm::divider::computeDividerFlows (SimulationContext &ctx, const DividerSoA &soa)
 Compute diversion flows for all divider nodes.
 

Detailed Description

Flow divider — numerically identical to legacy node.c divider logic.

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
License\n MIT License