28#ifndef OPENSWMMVIS_MESH_MESHBCTYPE_H
29#define OPENSWMMVIS_MESH_MESHBCTYPE_H
Namespace-like QObject that registers the boundary-condition Type with Qt's meta-object system (Q_ENU...
Definition meshbctype.h:44
static int engineBCType(Type t)
Collapse GUI constant/timeseries variants into the engine boundary vocabulary.
Definition meshbctype.cpp:86
static QString inpToken(Type t)
Encode a GUI boundary type as its stable INP TYPE token.
Definition meshbctype.cpp:39
Type
GUI boundary-condition variants for one mesh edge.
Definition meshbctype.h:52
@ SpecifiedFlowConst
Fixed discharge per metre of edge.
Definition meshbctype.h:57
@ RatingCurve
Stage → flow lookup.
Definition meshbctype.h:59
@ Wall
Zero-flux barrier (default)
Definition meshbctype.h:53
@ SpecifiedStageConst
Fixed water-surface elevation.
Definition meshbctype.h:55
@ SpecifiedFlowTS
Time-varying discharge per metre.
Definition meshbctype.h:58
@ SpecifiedStageTS
Time-varying water-surface elevation.
Definition meshbctype.h:56
@ NormalFlow
Manning outflow at bed slope.
Definition meshbctype.h:54
static QString label(Type t)
Translate the display label for a mesh boundary-condition variant.
Definition meshbctype.cpp:18
static Type fromInpToken(const QString &token, bool *ok=nullptr)
Parse a trimmed case-insensitive INP boundary token into a GUI variant.
Definition meshbctype.cpp:60
The Qt-facing MeshKit API (meshkit::core_qt, meshkit::model_qt, meshkit::io_qt): mesh value types and...