1D↔2D coupling map produced by the meshing dialog. More...
#include <mesh/inpmeshwriter.h>
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. | |
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.
| QHash<int, double> mesh::CouplingMap::triangleMannings |
Per-triangle Manning's n.
Triangles missing from the map use the default passed into the writer.
| QHash<int, QString> mesh::CouplingMap::triangleToNode |
Triangle index (in MeshResult::triangles) → SWMM node ID.
| QHash<int, QString> mesh::CouplingMap::vertexToNode |
Vertex index (in MeshResult::vertices) → SWMM node ID.