Loading...
Searching...
No Matches
mesh::CellCoupling Struct Reference

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

#include <mesh/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, mesh length units² (mapper default).
 
bool cdSet = true
 False: row written without CD (see MeshVertex::couplingCdSet).
 
bool areaSet = true
 False: row written without AREA.
 

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, mesh length units² (mapper default).

◆ areaSet

bool mesh::CellCoupling::areaSet = true

False: row written without AREA.

◆ cd

double mesh::CellCoupling::cd = 0.65

Discharge coefficient (engine default).

◆ cdSet

bool mesh::CellCoupling::cdSet = true

False: row written without CD (see MeshVertex::couplingCdSet).

◆ 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: