![]() |
OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
|
Culvert inlet control — numerically identical to legacy culvert.c. More...
#include "Culvert.hpp"#include "../core/SimulationContext.hpp"#include <cmath>#include <algorithm>Namespaces | |
| namespace | openswmm |
| namespace | openswmm::culvert |
Functions | |
| CulvertCoeffs | openswmm::culvert::getCoeffs (int culvert_code) |
| Get coefficients for a culvert type code (1-57). | |
| double | openswmm::culvert::getInflow (double q_proposed, double head, double y_full, double a_full, double slope, int code, double &dqdh) |
| Compute culvert inlet-controlled inflow. | |
| void | openswmm::culvert::batchComputeInletControl (const int *link_indices, int n, SimulationContext &ctx) |
| Batch compute culvert inlet control for all culvert links. | |
Culvert inlet control — numerically identical to legacy culvert.c.