![]() |
OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
|
Functions | |
| int | writeInpFile (const SimulationContext &ctx, const std::string &path) |
| Write the full model to a SWMM .inp file. | |
| int openswmm::inp_writer::writeInpFile | ( | const SimulationContext & | ctx, |
| const std::string & | path | ||
| ) |
Write the full model to a SWMM .inp file.
Sections written (in order): [TITLE], [OPTIONS], [RAINGAGES], [SUBCATCHMENTS], [SUBAREAS], [INFILTRATION], [JUNCTIONS], [OUTFALLS], [STORAGE], [DIVIDERS], [CONDUITS], [PUMPS], [ORIFICES], [WEIRS], [OUTLETS], [XSECTIONS], [TRANSECTS], [LOSSES], [CONTROLS], [INFLOWS], [DWF], [RDII], [POLLUTANTS], [LANDUSES], [BUILDUP], [WASHOFF], [TREATMENT], [TIMESERIES], [CURVES], [PATTERNS], [USER_FLAGS], [PLUGINS], [COORDINATES], [MAP]
| ctx | Simulation context with all model data. |
| path | Output file path. |