Loading...
Searching...
No Matches
meshbctype.h File Reference

Slice §V.VA / §V.VC — enumeration of 2D mesh boundary-condition types surfaced by the Mesh Editing toolbar. More...

#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
 Namespace-like QObject that registers the boundary-condition Type with Qt's meta-object system (Q_ENUM) and hosts static label/token/engine conversions. More...
 

Namespaces

namespace  mesh
 The Qt-facing MeshKit API (meshkit::core_qt, meshkit::model_qt, meshkit::io_qt): mesh value types and cell attributes, the mesh generator, quad regions, matching and cleanup, mesh statistics, and the INP and 2DM mesh codecs.
 

Detailed Description

Slice §V.VA / §V.VC — enumeration of 2D mesh boundary-condition types surfaced by the Mesh Editing toolbar.

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
Date
2026
License
Apache-2.0

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.