OpenSWMM Engine  6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
openswmm::inp_writer::InpWriteOptions Struct Reference

Write profile: which engine the file is written for. More...

#include <InpWriter.hpp>

Collaboration diagram for openswmm::inp_writer::InpWriteOptions:

Public Types

enum class  Profile {
  Full ,
  Swmm5
}
 

Public Attributes

Profile profile = Profile::Full
 

Detailed Description

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.

Member Enumeration Documentation

◆ Profile

Enumerator
Full 
Swmm5 

Member Data Documentation

◆ profile

Profile openswmm::inp_writer::InpWriteOptions::profile = Profile::Full

The documentation for this struct was generated from the following file: