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

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>
Include dependency graph for InterfaceFile.cpp:

Namespaces

namespace  openswmm
 
namespace  openswmm::iface
 

Macros

#define OPENSWMM_STRTOK(str, delim, ctx)   strtok((str), (delim))
 

Detailed Description

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] ...

Note
Legacy reference: src/legacy/engine/iface.c
Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
License\n MIT License

Macro Definition Documentation

◆ OPENSWMM_STRTOK

#define OPENSWMM_STRTOK (   str,
  delim,
  ctx 
)    strtok((str), (delim))