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::CouplingMap Struct Reference

1D↔2D coupling map produced by the meshing dialog. More...

#include <inpmeshwriter.h>

Collaboration diagram for mesh::CouplingMap:

Public Attributes

QHash< int, QString > vertexToNode
 
QHash< int, QString > triangleToNode
 
QHash< int, doubletriangleMannings
 

Detailed Description

1D↔2D coupling map produced by the meshing dialog.

The dialog walks the SWMM model + the meshing inputs and builds this map: which mesh vertex / triangle is associated with which SWMM node ID. This is the only cross-file glue the writer needs — the writer itself is data-agnostic.

Member Data Documentation

◆ triangleMannings

QHash<int, double> mesh::CouplingMap::triangleMannings

Per-triangle Manning's n. Triangles missing from the map use the default passed into the writer.

◆ triangleToNode

QHash<int, QString> mesh::CouplingMap::triangleToNode

Triangle index (in MeshResult::triangles) → SWMM node ID.

◆ vertexToNode

QHash<int, QString> mesh::CouplingMap::vertexToNode

Vertex index (in MeshResult::vertices) → SWMM node ID.


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