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
meshenginesync.h
Go to the documentation of this file.
1
15#ifndef OPENSWMMVIS_MESH_MESHENGINESYNC_H
16#define OPENSWMMVIS_MESH_MESHENGINESYNC_H
17
18#include "meshresult.h"
19#include "meshedgebc.h"
20
21#include <openswmm/engine/openswmm_callbacks.h> // SWMM_Engine typedef
22
23#include <QLoggingCategory>
24#include <QStringList>
25#include <QVector>
26
27// Opt-in save-path perf breakdown (per-stage ms, per-element push counts):
28// QT_LOGGING_RULES="openswmm.save.perf=true" (lines are qCInfo). Gated because
29// the push counters are only meaningful next to the stage timings, and both are
30// noise during normal operation.
31Q_DECLARE_LOGGING_CATEGORY(lcSavePerf)
32
33namespace mesh {
34
80 const MeshResult &mesh,
81 const QVector<MeshEdgeBC> &bcs,
82 QStringList *warnings = nullptr,
83 bool *outTrianglesSynced = nullptr);
84
85} // namespace mesh
86
87#endif // OPENSWMMVIS_MESH_MESHENGINESYNC_H
Definition meshcommands.h:302
bool pushMeshEditsToEngine(SWMM_Engine engine, const MeshResult &mesh, const QVector< MeshEdgeBC > &bcs, QStringList *warnings=nullptr, bool *outTrianglesSynced=nullptr)
Copy the layer's editable mesh state into the engine's 2D mesh.
Definition meshenginesync.cpp:105
void * SWMM_Engine
Definition objectdefaultsapplier.h:19