24#ifndef OPENSWMMVIS_MESH_MESHBCTYPE_H
25#define OPENSWMMVIS_MESH_MESHBCTYPE_H
Definition meshbctype.h:33
static int engineBCType(Type t)
Engine-side BC enum (0..4) — collapses TS variants onto stage/flow.
Definition meshbctype.cpp:57
static QString inpToken(Type t)
INP TYPE token (uppercase, no spaces).
Definition meshbctype.cpp:27
Type
Definition meshbctype.h:36
@ SpecifiedFlowConst
Fixed discharge per metre of edge.
@ RatingCurve
Stage → flow lookup.
@ Wall
Zero-flux barrier (default)
@ SpecifiedStageConst
Fixed water-surface elevation.
@ SpecifiedFlowTS
Time-varying discharge per metre.
@ SpecifiedStageTS
Time-varying water-surface elevation.
@ NormalFlow
Manning outflow at bed slope.
static Type fromInpToken(const QString &token, bool *ok=nullptr)
Parse an INP TYPE token (uppercase or mixed case).
Definition meshbctype.cpp:41
const char * token
Definition diagramspec.cpp:20
DiagramType t
Definition diagramspec.cpp:20
const char * label
Human label for the filter entry.
Definition gdaldrivers.cpp:22
bool ok
Definition inpmeshwriter.cpp:575
Definition meshcommands.h:302