![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
Which element a flux evaluator is being called for. More...
#include <HeatOverrideData.hpp>
Static Public Member Functions | |
| static HeatElement | node (int i) |
| static HeatElement | link (int i) |
| static HeatElement | subcatch (int i) |
| static HeatElement | cell2d (int i) |
Public Attributes | |
| HeatElemKind | kind = HeatElemKind::LINK |
| int | index = -1 |
Which element a flux evaluator is being called for.
Default-constructs to an INVALID index deliberately: a binding that forgets to pass a real element gets the global config (the accessors treat index < 0 as "no override"), which is the safe answer, while a gate that pins per-element behaviour still catches the omission. The alternative — defaulting to index 0 — would silently give every element the FIRST link's attributes.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
| int openswmm::HeatElement::index = -1 |
| HeatElemKind openswmm::HeatElement::kind = HeatElemKind::LINK |