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

Culvert inlet control — numerically identical to legacy culvert.c. More...

#include "Culvert.hpp"
#include "XSectBatch.hpp"
#include "XSectKernels.hpp"
#include "../core/Constants.hpp"
#include "../math/FindRoot.hpp"
#include <cmath>
#include <algorithm>
Include dependency graph for Culvert.cpp:

Namespaces

namespace  openswmm
 
namespace  openswmm::culvert
 

Functions

CulvertCoeffs openswmm::culvert::getCoeffs (int culvert_code)
 Copy an FHWA culvert inlet coefficient record.
 
double openswmm::culvert::getInflow (double q0, double y, const XSectParams &xs, double slope, int code, double &dqdh, bool &controls)
 Apply an FHWA inlet-capacity limit to a proposed conduit flow.
 

Detailed Description

Culvert inlet control — numerically identical to legacy culvert.c.

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