![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
Descriptor for a single coupling point between 2D and 1D. More...
#include <NodeCoupling.hpp>
Public Attributes | |
| int | cell_idx |
| Triangle index in the 2D mesh. | |
| int | vertex_idx |
| Vertex index (-1 if triangle-centroid coupling) | |
| int | node_idx |
| SWMM node index. | |
| double | cd |
| Discharge coefficient. | |
| double | area |
| Effective exchange area (m²) | |
| bool | is_outfall |
| True if the SWMM node is an outfall. | |
| bool | has_flap_gate |
| bool | area_authored = true |
| bool | cd_authored = true |
| int8_t | law = 0 |
| exchange::Geometry | geo |
| WEIR_ORIFICE structure (SI, 2D frame) | |
| exchange::Coefficients | coef |
| double | chamber_area = 0.0 |
| bool | equalize = false |
| COUPLING_EQUALIZE resolved for this point. | |
| int | head_begin = 0 |
| int | head_end = 0 |
| double | spread = 0.0 |
| double | tw_relax = 0.0 |
Descriptor for a single coupling point between 2D and 1D.
| double openswmm::twoD::CouplingPoint::area |
Effective exchange area (m²)
| bool openswmm::twoD::CouplingPoint::area_authored = true |
True when the input authored an explicit AREA token for this point; false = defaulted. COUPLING_AREA AUTO (clamp(1.25 × largest connected conduit area, 0.05, 2.0) m²) replaces the area of every junction point either way — mapper-written default tokens look authored.
| double openswmm::twoD::CouplingPoint::cd |
Discharge coefficient.
| bool openswmm::twoD::CouplingPoint::cd_authored = true |
True when the input authored this point's CD; false = the router substitutes [2D_OPTIONS] COUPLING_CD.
| int openswmm::twoD::CouplingPoint::cell_idx |
Triangle index in the 2D mesh.
| double openswmm::twoD::CouplingPoint::chamber_area = 0.0 |
Chamber plan area above the rim (m²): [2D_NODE_COUPLING] CHAMBER_AREA, else the structure's open area (the map-row area under ORIFICE). The pond area under COUPLING_POND_MODE CHAMBER, the floor under TRACKING.
| exchange::Coefficients openswmm::twoD::CouplingPoint::coef |
WEIR_ORIFICE coefficients
| bool openswmm::twoD::CouplingPoint::equalize = false |
COUPLING_EQUALIZE resolved for this point.
| exchange::Geometry openswmm::twoD::CouplingPoint::geo |
WEIR_ORIFICE structure (SI, 2D frame)
| bool openswmm::twoD::CouplingPoint::has_flap_gate |
True if outfall has a flap gate
| int openswmm::twoD::CouplingPoint::head_begin = 0 |
Head-sampling cells [head_begin, head_end) in the router's shared list (SurfaceStateData::coupling_head_cells): the wet-depth-weighted η over them drives the exchange. Empty = the coupling cell's own head.
| int openswmm::twoD::CouplingPoint::head_end = 0 |
| bool openswmm::twoD::CouplingPoint::is_outfall |
True if the SWMM node is an outfall.
| int8_t openswmm::twoD::CouplingPoint::law = 0 |
Exchange law resolved for this point (CouplingLaw2D: 0 ORIFICE — the legacy path on cd/area — or 1 WEIR_ORIFICE on geo/coef).
| int openswmm::twoD::CouplingPoint::node_idx |
SWMM node index.
| double openswmm::twoD::CouplingPoint::spread = 0.0 |
Outfalls ([2D_NODE_COUPLING] OUTFALL row): SPREAD radius (m; 0 = the point's own cells) over which a discharge is delivered, and TAILWATER_RELAX time (s; 0 = the tailwater follows the surface).
| double openswmm::twoD::CouplingPoint::tw_relax = 0.0 |
| int openswmm::twoD::CouplingPoint::vertex_idx |
Vertex index (-1 if triangle-centroid coupling)