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

Global unit conversion — matching legacy SWMM UCF(). More...

Include dependency graph for UnitConversion.cpp:

Namespaces

namespace  openswmm
 
namespace  openswmm::ucf
 

Functions

int openswmm::ucf::getUnitSystem (int flow_units)
 Determine unit system (0=US, 1=SI) from flow units.
 
double openswmm::ucf::UCF (int quantity, const SimulationOptions &opts)
 Get unit conversion factor for a quantity.
 

Detailed Description

Global unit conversion — matching legacy SWMM UCF().

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