SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
meshbctype.h File Reference
#include <QObject>
#include <QString>
Include dependency graph for meshbctype.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mesh::MeshBCTypes
 

Namespaces

namespace  mesh
 

Detailed Description

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
Date
2026
License\n GPL-3.0-or-later

Slice §V.VA / §V.VC — enumeration of 2D mesh boundary-condition types surfaced by the Mesh Editing toolbar. Order is locked because the int value participates in .oswp round-trip and the [2D_BOUNDARY_CONDITIONS] INP encoding (TYPE column).

Engine vocabulary mapping (per openswmm_2d.h §V.11): Wall → SWMM_2D_BC_WALL (0) NormalFlow → SWMM_2D_BC_NORMAL_FLOW (1) SpecifiedStage → SWMM_2D_BC_SPECIFIED_STAGE (2) (constant or timeseries) SpecifiedFlow → SWMM_2D_BC_SPECIFIED_FLOW (3) (V-E4, constant or timeseries) RatingCurve → SWMM_2D_BC_RATING_CURVE (4) (V-E5)

The (Constant, Timeseries) variants for SpecifiedStage / SpecifiedFlow collapse onto the same engine type — the GUI distinguishes by whether the MeshEdgeBC carries a timeseries name. The toolbar combo surfaces them as separate rows for clarity.