Loading...
Searching...
No Matches
inpmeshwriter.cpp File Reference

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). More...

#include "mesh/inpmeshwriter.h"
#include "mesh/meshbctype.h"
#include "mesh/meshcellgeom.h"
#include "mesh/meshinfil.h"
#include <QDir>
#include <QFile>
#include <QFileInfo>
#include <QList>
#include <QPair>
#include <QRegularExpression>
#include <QSaveFile>
#include <QSet>
#include <QTextStream>
#include <QtCore/QChar>
#include <algorithm>
#include <cmath>
#include <limits>
Include dependency graph for inpmeshwriter.cpp:

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.
 

Detailed Description

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).

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
Date
2026
License
Apache-2.0

Slice AU — InpMeshWriter implementation. Section formats per openswmm.engine/docs/2dModelStrategy.md §1.4–1.7.