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
inpmeshwriter.h File Reference
#include "meshresult.h"
#include "meshedgebc.h"
#include <QHash>
#include <QString>
#include <QVector>
Include dependency graph for inpmeshwriter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mesh::CouplingMap
 1D↔2D coupling map produced by the meshing dialog. More...
 
class  mesh::InpMeshWriter
 
struct  mesh::InpMeshWriter::UnitInfo
 Unit & provenance metadata written as ;; header comments. More...
 

Namespaces

namespace  mesh
 

Enumerations

enum class  mesh::MeshOutputMode {
  mesh::External ,
  mesh::Inline
}
 Output strategy for the four 2D mesh sections. More...
 

Detailed Description

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
Date
2026
License\n GPL-3.0-or-later

Slice AU — emit [2D_VERTICES] / [2D_TRIANGLES] / [2D_VERTEX_NODE_MAP] / [2D_TRIANGLE_NODE_MAP] (plus the GG0a [2D_INFILTRATION*] family) sections from a MeshResult + a CouplingMap, and patch them into a SWMM .inp file (replacing existing sections in place). Format follows openswmm.engine/docs/2dModelStrategy.md §1.4–1.7 and, for infiltration, the engine's InpWriter.cpp emit2DInfilSections().