OpenSWMM Engine  6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
PendingRows2D.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: Apache-2.0
2//
3// Copyright 2026 Caleb Buahin
4//
5// Licensed under the Apache License, Version 2.0 (the "License");
6// you may not use this file except in compliance with the License.
7// You may obtain a copy of the License at
8//
9// http://www.apache.org/licenses/LICENSE-2.0
10//
11// Unless required by applicable law or agreed to in writing, software
12// distributed under the License is distributed on an "AS IS" BASIS,
13// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14// See the License for the specific language governing permissions and
15// limitations under the License.
16
34
35#ifndef OPENSWMM_ENGINE_2D_PENDING_ROWS_HPP
36#define OPENSWMM_ENGINE_2D_PENDING_ROWS_HPP
37
38#include <string>
39
40namespace openswmm::twoD {
41
54 int tri = 0;
55 int edge = 0;
56 int bc_type = 0;
57 double param1 = 0.0;
58 std::string name;
59 std::string group;
60};
61
73 int v_from = 0;
74 int v_to = 0;
75 double conveyance = 1.0;
76};
77
90 int tri = -1;
91 std::string tag;
92 bool all = false;
93 std::string species;
94 double conc = 0.0;
95};
96
102 int tri = 0;
103 int edge = 0;
104 std::string species;
105 double conc = 0.0;
106};
107
108} // namespace openswmm::twoD
109
110#endif // OPENSWMM_ENGINE_2D_PENDING_ROWS_HPP
Definition NodeCoupling.cpp:16
Definition PendingRows2D.hpp:101
std::string species
name in [POLLUTANTS]
Definition PendingRows2D.hpp:104
int edge
0..2
Definition PendingRows2D.hpp:103
double conc
species units
Definition PendingRows2D.hpp:105
int tri
Definition PendingRows2D.hpp:102
Per-row buffer for [2D_BOUNDARY_CONDITIONS] parse output.
Definition PendingRows2D.hpp:53
double param1
slope (NormalFlow) / head (Stage) / flow (Flow)
Definition PendingRows2D.hpp:57
std::string group
named group ("" = none)
Definition PendingRows2D.hpp:59
std::string name
TS name or curve name (TS_/Rating variants)
Definition PendingRows2D.hpp:58
int bc_type
openswmm::twoD::BoundaryType cast
Definition PendingRows2D.hpp:56
int tri
Definition PendingRows2D.hpp:54
int edge
0..2
Definition PendingRows2D.hpp:55
Per-row buffer for [2D_EDGE_CONVEYANCE] parse output (§11A).
Definition PendingRows2D.hpp:72
double conveyance
Validated to [0, 1] at parse time.
Definition PendingRows2D.hpp:75
int v_from
FROM_VERTEX index.
Definition PendingRows2D.hpp:73
int v_to
TO_VERTEX index (≠ v_from)
Definition PendingRows2D.hpp:74
One [2D_INITIAL_QUALITY] row (overland transport S1/S2).
Definition PendingRows2D.hpp:89
std::string tag
tag name; empty with tri >= 0 or for '*'
Definition PendingRows2D.hpp:91
double conc
species units (mass = conc x cell volume)
Definition PendingRows2D.hpp:94
int tri
0-based cell, or -1 for TAG / '*' scope
Definition PendingRows2D.hpp:90
bool all
the '*' spelling
Definition PendingRows2D.hpp:92
std::string species
name in [POLLUTANTS]
Definition PendingRows2D.hpp:93