![]() |
OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
|
Routing interface file — coupling between separate SWMM simulations. More...
#include "InterfaceFile.hpp"#include "SimulationContext.hpp"#include "DateTime.hpp"#include "UnitConversion.hpp"#include <cstring>#include <cstdlib>#include <cmath>#include <algorithm>Namespaces | |
| namespace | openswmm |
| namespace | openswmm::iface |
Macros | |
| #define | OPENSWMM_STRTOK(str, delim, ctx) strtok((str), (delim)) |
Routing interface file — coupling between separate SWMM simulations.
Text-based interface file format matching legacy iface.c:
Line 1: "SWMM5 Interface File" Line 2: Title Line 3: <step> - reporting time step in sec Line 4: <n> - number of constituents (flow + pollutants) Lines 5..5+n: constituent names and units (FLOW first) Next line: <m> - number of nodes Next m lines: node names Column headings line Data lines: NodeID YYYY MM DD HH MM SS FLOW [pollut1] [pollut2] ...
| #define OPENSWMM_STRTOK | ( | str, | |
| delim, | |||
| ctx | |||
| ) | strtok((str), (delim)) |