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

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

#include <mesh/inpmeshwriter.h>

Collaboration diagram for mesh::CouplingMap:

Public Attributes

QHash< int, QString > vertexToNode
 Vertex index (in MeshResult::vertices) → SWMM node ID.
 
QHash< int, QString > triangleToNode
 Triangle index (in MeshResult::triangles) → SWMM node ID.
 
QHash< int, double > triangleMannings
 Per-triangle Manning's n.
 

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: