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
mesh::CellCoupling Struct Reference

A 1D node coupled to a mesh cell (centroid coupling). More...

#include <meshresult.h>

Collaboration diagram for mesh::CellCoupling:

Public Attributes

int tri = -1
 Triangle index into MeshResult::triangles.
 
QString nodeId
 SWMM node id.
 
double cd = 0.65
 Discharge coefficient (engine default).
 
double area = 2.0
 Effective exchange area, m² (mapper default).
 

Detailed Description

A 1D node coupled to a mesh cell (centroid coupling).

MESH_DECOUPLED_1D2D_REMAP_PLAN Part C — a triangle may carry several of these (multiple nodes landing in one cell), so they are stored as rows on the MeshResult rather than as fields on MeshTriangle. Written as repeated [2D_TRIANGLE_NODE_MAP] rows; the engine builds one coupling point per row (orifice exchange law).

Member Data Documentation

◆ area

double mesh::CellCoupling::area = 2.0

Effective exchange area, m² (mapper default).

◆ cd

double mesh::CellCoupling::cd = 0.65

Discharge coefficient (engine default).

◆ nodeId

QString mesh::CellCoupling::nodeId

SWMM node id.

◆ tri

int mesh::CellCoupling::tri = -1

Triangle index into MeshResult::triangles.


The documentation for this struct was generated from the following file: