Read the [2D_*] mesh sections — [2D_VERTICES], [2D_TRIANGLES], [2D_QUADS] (mixed meshes: quads appended after the triangles, cell index = n_triangles + j; a triangle row after a quad row is an error), [2D_VERTEX_NODE_MAP], [2D_TRIANGLE_NODE_MAP], the per-edge [2D_BOUNDARY_CONDITIONS] / [2D_EDGE_CONVEYANCE] pair and the GG0a per-cell [2D_INFILTRATION_OPTIONS] / [2D_INFILTRATION_DEFAULTS] / [2D_INFILTRATION] family — from a SWMM .inp, resolving the [2D_MESH_FILE] indirection when present.
More...
Go to the source code of this file.
Classes | |
| struct | mesh::InpMeshReadResult |
| Outcome of InpMeshReader::read. More... | |
| class | mesh::InpMeshReader |
Stateless reader for the [2D_*] mesh sections of a SWMM .inp (inline or via [2D_MESH_FILE]), the counterpart of InpMeshWriter. More... | |
Namespaces | |
| namespace | mesh |
The Qt-facing MeshKit API (meshkit::core_qt, meshkit::model_qt, meshkit::io_qt): mesh value types and cell attributes, the mesh generator, quad regions, matching and cleanup, mesh statistics, and the INP and 2DM mesh codecs. | |
Functions | |
| bool | mesh::unitsHeaderIsSI (const QString &unitsHeader) |
| Recognize the retained metric-mesh header vocabulary without converting geometry. | |
Read the [2D_*] mesh sections — [2D_VERTICES], [2D_TRIANGLES], [2D_QUADS] (mixed meshes: quads appended after the triangles, cell index = n_triangles + j; a triangle row after a quad row is an error), [2D_VERTEX_NODE_MAP], [2D_TRIANGLE_NODE_MAP], the per-edge [2D_BOUNDARY_CONDITIONS] / [2D_EDGE_CONVEYANCE] pair and the GG0a per-cell [2D_INFILTRATION_OPTIONS] / [2D_INFILTRATION_DEFAULTS] / [2D_INFILTRATION] family — from a SWMM .inp, resolving the [2D_MESH_FILE] indirection when present.
Read the [2D_*] mesh sections — [2D_VERTICES], [2D_TRIANGLES], [2D_QUADS] (mixed meshes: quads appended after the triangles, cell index = n_triangles + j; a triangle row after a quad row is an error), [2D_VERTEX_NODE_MAP], [2D_TRIANGLE_NODE_MAP], the per-edge [2D_BOUNDARY_CONDITIONS] / [2D_EDGE_CONVEYANCE] pair and the GG0a per-cell [2D_INFILTRATION_OPTIONS] / [2D_INFILTRATION_DEFAULTS] / [2D_INFILTRATION] family — from a SWMM .inp, resolving the [2D_MESH_FILE] indirection when present. Mirrors the format produced by mesh::InpMeshWriter.