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

Section handlers for link types: CONDUITS, PUMPS, ORIFICES, WEIRS, OUTLETS, XSECTIONS, LOSSES, TRANSECTS. More...

#include <vector>
#include <string>
Include dependency graph for LinksHandler.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  openswmm
 
namespace  openswmm::input
 

Functions

void openswmm::input::handle_conduits (SimulationContext &ctx, const std::vector< std::string > &lines)
 Parse conduit length/roughness, offsets and optional initial/limited flow.
 
void openswmm::input::handle_pumps (SimulationContext &ctx, const std::vector< std::string > &lines)
 Parse pump curves, initial status and start/shutoff depths.
 
void openswmm::input::handle_orifices (SimulationContext &ctx, const std::vector< std::string > &lines)
 Parse orifice orientation, offset, discharge coefficient and gate timing.
 
void openswmm::input::handle_weirs (SimulationContext &ctx, const std::vector< std::string > &lines)
 Parse weir type, crest/coefficient, surcharge and roadway authoring.
 
void openswmm::input::handle_outlets (SimulationContext &ctx, const std::vector< std::string > &lines)
 Parse functional/tabular outlet ratings and optional flap gate.
 
void openswmm::input::handle_xsections (SimulationContext &ctx, const std::vector< std::string > &lines)
 Assign raw link cross-sections and defer unresolved referenced names.
 
void openswmm::input::handle_losses (SimulationContext &ctx, const std::vector< std::string > &lines)
 Assign conduit loss/seepage parameters and a shared link flap flag.
 
void openswmm::input::handle_transects (SimulationContext &ctx, const std::vector< std::string > &lines)
 Append transects from stateful NC, X1 and GR authoring records.
 

Detailed Description

Section handlers for link types: CONDUITS, PUMPS, ORIFICES, WEIRS, OUTLETS, XSECTIONS, LOSSES, TRANSECTS.

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