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

Write a SimulationContext to a SWMM .inp file. More...

#include <string>
Include dependency graph for InpWriter.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::inp_writer
 

Functions

int openswmm::inp_writer::writeInpFile (const SimulationContext &ctx, const std::string &path)
 Write the full model to a SWMM .inp file.
 

Detailed Description

Write a SimulationContext to a SWMM .inp file.

Serialises all model data from SoA arrays into standard SWMM input file format. Supports all sections from the legacy format plus new sections ([USER_FLAGS], [PLUGINS]).

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