![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
Write profile: which engine the file is written for. More...
#include <InpWriter.hpp>
Public Types | |
| enum class | Profile { Full , Swmm5 } |
Public Attributes | |
| Profile | profile = Profile::Full |
Write profile: which engine the file is written for.
Full is the native format. Swmm5 writes a file a SWMM 5.x engine can read (MULTI_ENGINE plan V2 Phase 4): the v6-only sections are omitted ([2D_*], [PLUGINS], [PROCESS_COMPONENTS], [USER_FLAGS], [USER_FLAG_VALUES], [RDII_DECAY]), v6-only option keys are omitted and incompatible values mapped (FLOW_ROUTING FV → DYNWAVE, SURCHARGE_METHOD DYNAMIC_SLOT/TPA → SLOT), a virtual junction becomes an ordinary junction, and an inlet junction becomes an ordinary junction plus an [INLET_USAGE] row on its approach conduit with the same capture node (the legacy-equivalent model). Every substitution is reported through warnings; the file starts with a comment naming the profile.
|
strong |
| Profile openswmm::inp_writer::InpWriteOptions::profile = Profile::Full |