![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
Classes | |
| struct | GWContext |
| struct | GWSoA |
| class | GWSolver |
| Mutable two-zone groundwater state with independent scalar per-subcatchment RKF45. One owning simulation thread serializes init/execute/state edits. Initialization supplies defaults only; model loading must populate physical aquifer parameters and compile/bind optional expressions before stepping. No transactional rollback or per-call integration failure result is exposed. More... | |
Enumerations | |
| enum | GWVar : int { GWV_HGW = 0 , GWV_HSW = 1 , GWV_HCB = 2 , GWV_HGS = 3 , GWV_KS = 4 , GWV_K = 5 , GWV_THETA = 6 , GWV_PHI = 7 , GWV_FI = 8 , GWV_FU = 9 , GWV_A = 10 , GWV_MAX = 11 } |
| GW expression variable indices (matching legacy GWvariables enum). More... | |
Functions | |
| int | gwf_validate (const std::string &expr, std::string &msg, int &col) |
| Validate a GWF expression and probe the production parser without storing it. | |
Variables | |
| constexpr double | GWTOL |
| constexpr double | XTOL |
| enum openswmm::groundwater::GWVar : int |
GW expression variable indices (matching legacy GWvariables enum).
| int openswmm::groundwater::gwf_validate | ( | const std::string & | expr, |
| std::string & | msg, | ||
| int & | col ) |
Validate a GWF expression and probe the production parser without storing it.
| expr | Borrowed arithmetic text; empty/whitespace-only is invalid. Supports numbers, variable identifiers, known functions, parentheses, comma and + - * / ^. Identifiers are case insensitive; legacy variable names may be prefixes of a longer identifier (e.g. HGWW resolves HGW, Area resolves A). | |
| [out] | msg | Cleared on entry/success, otherwise human-readable rejection. |
| [out] | col | Zero-based byte position or -1 for unattributed/internal failure; not a Unicode code-point column. Text/token positions must fit int. |
|
constexpr |