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
enginecapabilities.h
Go to the documentation of this file.
1
18#ifndef ENGINECAPABILITIES_H
19#define ENGINECAPABILITIES_H
20
21#include <QString>
22
23#include <openswmm/engine/openswmm_engine.h>
24
25namespace openswmmvis::ui
26{
27
37{
38 QString engineVersion;
39
42 bool legacy = false;
43
44 // ---- probed keys: one field per `if` block of applyEngineConstraints ----
45 bool fv = false;
46 bool transport = false;
48 bool tpa = false;
49 bool fvPressure = false;
50 bool uf = false;
51 bool signedHeads = false;
52
53 // ---- legacy-only blocks: false on a 5.x engine, true otherwise ----
54 bool dynSlot = false;
55 bool semiImplicit = false;
56 bool andersonAccel = false;
57 bool pluginWriters = false;
58
59 bool has2D = false;
60};
61
68
69} // namespace openswmmvis::ui
70
71#endif // ENGINECAPABILITIES_H
int e
Definition inpmeshreader.cpp:41
Definition openswmmvislayer.h:43
EngineCapabilities probeEngineCapabilities(SWMM_Engine e, const QString &version)
Probe e once for everything the dialog gates on.
Definition enginecapabilities.cpp:31
void * SWMM_Engine
Definition objectdefaultsapplier.h:19
What this engine build accepts, probed once.
Definition enginecapabilities.h:37
bool uf
probe UNSTEADY_FRICTION (was: m_ufSupported)
Definition enginecapabilities.h:50
bool semiImplicit
NODE_CONTINUITY SEMI_IMPLICIT item.
Definition enginecapabilities.h:55
bool fvPressure
probe FV_PRESSURE_CLOSURE (FV pressure-closure combo)
Definition enginecapabilities.h:49
bool tpa
probe TPA_CELERITY (SURCHARGE_METHOD TPA item + celerity)
Definition enginecapabilities.h:48
bool transport
Definition enginecapabilities.h:46
bool pluginWriters
writers group + [PLUGINS] table
Definition enginecapabilities.h:57
bool legacy
Definition enginecapabilities.h:42
bool signedHeads
probe REPORT_SIGNED_HEADS (signed-heads check)
Definition enginecapabilities.h:51
bool dynSlot
SURCHARGE_METHOD DYNAMIC_SLOT item.
Definition enginecapabilities.h:54
bool has2D
OPENSWMM_HAS_2D && the engine reports a 2D surface.
Definition enginecapabilities.h:59
bool andersonAccel
ANDERSON_ACCEL check box.
Definition enginecapabilities.h:56
QString engineVersion
As handed to the dialog, e.g. "6.0.0".
Definition enginecapabilities.h:38
bool fv
probe FV_CFL (FLOW_ROUTING FV item)
Definition enginecapabilities.h:45