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
mesh2dgroundwaterdialog.h File Reference
#include <QDialog>
#include <openswmm/engine/openswmm_engine.h>
Include dependency graph for mesh2dgroundwaterdialog.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  openswmmvis::ui::Mesh2DGroundwaterDialog
 

Namespaces

namespace  openswmmvis
 
namespace  openswmmvis::ui
 

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

GG1-GG4, GG6 (2026-09-07) — the 2D two-zone groundwater editor.

This was a display-only preview laid out against a draft design. The kernel now exists (openswmm.engine/src/engine/2d/subsurface/), so the dialog is live and talks to it through openswmm_gw2d.h:

  • Options[2D_AQUIFER_OPTIONS]: soil law, closure, σ layers, stability factors, Dunne and GW_ET.
  • Aquifer — the [2D_AQUIFER] rows, per scope, in a table.
  • Node beds[2D_AQUIFER_NODE]: which node exchanges with which cell, through what conductance.
  • State — read-only, live during a run: table elevation, storage, the closure each cell resolved to, the LTS tier histogram and the continuity residual.

MVC per CLAUDE.md §5.1: the tables are Mesh2DAquiferModel and Mesh2DAquiferNodeModel, so the same rows can be edited from a future cell-properties panel and stay in step. The dialog owns presentation and the Apply/Cancel contract, nothing else.

Editing is refused mid-run by the C API, on purpose: these rows seed the kernel at initialize, so a mid-run edit would be silently dropped. The dialog reads that state up front and disables the editors with a reason rather than letting Apply fail.