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

Flow divider node logic — legacy-faithful divider_getOutflow. More...

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

Namespaces

namespace  openswmm
 
namespace  openswmm::divider
 

Functions

double openswmm::divider::getOutflow (SimulationContext &ctx, int node_idx, int link_idx)
 Flow sent from a divider node into one of its outflow links.
 

Detailed Description

Flow divider node logic — legacy-faithful divider_getOutflow.

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