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
meshedgebc.h
Go to the documentation of this file.
1
14#ifndef OPENSWMMVIS_MESH_MESHEDGEBC_H
15#define OPENSWMMVIS_MESH_MESHEDGEBC_H
16
17#include "mesh/meshbctype.h"
18
19#include <QString>
20
21namespace mesh {
22
24{
26 double head = 0.0;
27 double slope = 0.0;
28 double flow = 0.0;
29 QString tseries;
30 QString curve;
31 QString group;
37 double conveyance = 1.0;
38
39 bool operator==(const MeshEdgeBC &o) const noexcept
40 {
41 return type == o.type && head == o.head && slope == o.slope
42 && flow == o.flow && tseries == o.tseries && curve == o.curve
43 && group == o.group && conveyance == o.conveyance;
44 }
45 bool operator!=(const MeshEdgeBC &o) const noexcept { return !(*this == o); }
46};
47
48} // namespace mesh
49
50#endif // OPENSWMMVIS_MESH_MESHEDGEBC_H
Type
Definition meshbctype.h:36
@ Wall
Zero-flux barrier (default)
Definition meshcommands.h:302
Definition meshedgebc.h:24
bool operator==(const MeshEdgeBC &o) const noexcept
Definition meshedgebc.h:39
MeshBCTypes::Type type
Definition meshedgebc.h:25
double conveyance
Definition meshedgebc.h:37
QString curve
Curve name for RatingCurve.
Definition meshedgebc.h:30
QString tseries
TS name for *TS variants.
Definition meshedgebc.h:29
double slope
Bed slope for NormalFlow (dimensionless; must be > 0 — the engine treats 0 as a wall)
Definition meshedgebc.h:27
double flow
Discharge per metre for SpecifiedFlowConst (flow units / m)
Definition meshedgebc.h:28
double head
Stage for SpecifiedStageConst (project vert. units)
Definition meshedgebc.h:26
QString group
Definition meshedgebc.h:31
bool operator!=(const MeshEdgeBC &o) const noexcept
Definition meshedgebc.h:45