![]() |
OpenSWMM Engine
6.0.0-alpha.3
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.3)
|
Write a SimulationContext to a SWMM .inp file. More...
#include <string>#include <vector>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, std::vector< std::string > *warnings=nullptr) |
| Write the full model to a SWMM .inp file. | |
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]).