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
groundwaterassignment.cpp File Reference

Spatial assignment of groundwater forcing to selected mesh cells. More...

#include "assignment/groundwaterassignment.h"
#include <openswmm/engine/openswmm_gw2d.h>
#include <openswmm/engine/openswmm_climate.h>
#include <openswmm/engine/openswmm_model.h>
#include <openswmm/engine/openswmm_2d.h>
#include <cstring>
#include <QSet>
#include <QHash>
#include <cmath>
#include <algorithm>
Include dependency graph for groundwaterassignment.cpp:

Namespaces

namespace  openswmmvis
 
namespace  openswmmvis::assignment
 

Functions

QVector< AquiferTarget > openswmmvis::assignment::aquiferTargets ()
 Describe assignable aquifer properties and their permitted value ranges.
 
bool openswmmvis::assignment::readAquiferSnapshot (SWMM_Engine engine, AquiferSnapshot *snapshot, QString *error)
 Capture authored aquifer rows, inheritance flags, options and forcing context.
 
AquiferPreview openswmmvis::assignment::previewAquiferAssignment (const AquiferRequest &request, std::function< bool()> cancelled={})
 Resolve inherited aquifer properties into appended per-cell overrides.
 
bool openswmmvis::assignment::applyAquiferPreview (SWMM_Engine engine, const AquiferPreview &preview, QString *error, std::function< bool(int)> beforeWrite={})
 Append validated overrides while preserving all original authored records.
 
bool openswmmvis::assignment::undoAquiferPreview (SWMM_Engine engine, const AquiferPreview &preview, QString *error)
 Remove only the unchanged suffix produced by an aquifer assignment.
 
InfiltrationOwnershipPreview openswmmvis::assignment::previewInfiltrationOwnership (SWMM_Engine engine, const QStringList &tags, bool removeExplicit)
 Review surface infiltration conflicts with aquifer-owned cells without changing inputs.
 
bool openswmmvis::assignment::applyInfiltrationOwnership (SWMM_Engine engine, const InfiltrationOwnershipSnapshot &expected, const InfiltrationOwnershipSnapshot &desired, QString *error)
 Replace reviewed infiltration inputs after checking for intervening changes.
 
QString openswmmvis::assignment::groundwaterEtForcingStatus (SWMM_Engine engine, const QString &meshMode={})
 Describe the authored atmospheric demand that can drive groundwater ET.
 
AquiferProcessPreview openswmmvis::assignment::previewAquiferProcesses (SWMM_Engine engine, const QString &et, const QString &link, const QString &wilting)
 Validate and review groundwater ET, seepage, and wilting choices without writing.
 
bool openswmmvis::assignment::applyAquiferProcesses (SWMM_Engine engine, const AquiferSnapshot &expected, const AquiferSnapshot &desired, const QString &groundwater, QString *error)
 Apply reviewed groundwater process options after stale-input checks.
 

Detailed Description

Spatial assignment of groundwater forcing to selected mesh cells.

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