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
PreferencesManager::SimulationDefaults Struct Reference

#include <preferencesmanager.h>

Collaboration diagram for PreferencesManager::SimulationDefaults:

Public Attributes

QString flowUnits = QStringLiteral("CFS")
 
QString infiltrationModel = QStringLiteral("HORTON")
 
QString flowRouting = QStringLiteral("DYNWAVE")
 
bool ignoreRainfall = false
 
bool ignoreRdii = false
 
bool ignoreSnowmelt = false
 
bool ignoreGroundwater = false
 
bool ignoreQuality = false
 
bool ignoreRouting = false
 
bool module2DEnabled = false
 
bool allowPonding = false
 
bool skipSteadyState = false
 
double minSlopePct = 0.0
 MIN_SLOPE (%)
 
QString sweepStart = QStringLiteral("01/01")
 
QString sweepEnd = QStringLiteral("12/31")
 
double dryDays = 0.0
 
int reportStepSec = 60
 REPORT_STEP (1 minute)
 
int dryStepSec = 5 * 60
 DRY_STEP (runoff dry-weather step, 5 min)
 
int wetStepSec = 60
 WET_STEP (1 minute)
 
int ruleStepSec = 0
 RULE_STEP (0 = use routing step)
 
double routingStepSec = 5.0
 ROUTING_STEP (seconds, fractional ok)
 
int maxTrials = 8
 
double headTolerance = 0.005
 HEAD_TOLERANCE.
 
double sysFlowTolPct = 5.0
 SYS_FLOW_TOL surface = percent.
 
double latFlowTolPct = 5.0
 LAT_FLOW_TOL surface = percent.
 
QString inertialDamping = QStringLiteral("PARTIAL")
 "Dampen"
 
QString normalFlowLimited = QStringLiteral("BOTH")
 Slope+Froude.
 
QString forceMainEquation = QStringLiteral("H-W")
 
QString surchargeMethod = QStringLiteral("EXTRAN")
 
bool variableStepOn = true
 
double variableStepFactor = 0.75
 VARIABLE_STEP Courant fraction (0 disables)
 
double minRoutingStepSec = 0.5
 MINIMUM_STEP (CFL floor)
 
double lengtheningStepSec = 0.0
 LENGTHENING_STEP.
 
QString nodeContinuity = QStringLiteral("SEMI_IMPLICIT")
 
bool andersonAccel = true
 
QString unsteadyFriction = QStringLiteral("NONE")
 UNSTEADY_FRICTION.
 
double ufK3 = 0.015
 UF_K3 (Vitkovsky k3)
 
int threads = 0
 

Detailed Description

Bundled defaults written into the synthesized .inp on File→New and pre-populated in the New Project dialog. Persisted under SWMMVis/Preferences/SimulationDefaults so users can edit once and every subsequent new project inherits the choices.

Member Data Documentation

◆ allowPonding

bool PreferencesManager::SimulationDefaults::allowPonding = false

◆ andersonAccel

bool PreferencesManager::SimulationDefaults::andersonAccel = true

◆ dryDays

double PreferencesManager::SimulationDefaults::dryDays = 0.0

◆ dryStepSec

int PreferencesManager::SimulationDefaults::dryStepSec = 5 * 60

DRY_STEP (runoff dry-weather step, 5 min)

◆ flowRouting

QString PreferencesManager::SimulationDefaults::flowRouting = QStringLiteral("DYNWAVE")

◆ flowUnits

QString PreferencesManager::SimulationDefaults::flowUnits = QStringLiteral("CFS")

◆ forceMainEquation

QString PreferencesManager::SimulationDefaults::forceMainEquation = QStringLiteral("H-W")

◆ headTolerance

double PreferencesManager::SimulationDefaults::headTolerance = 0.005

HEAD_TOLERANCE.

◆ ignoreGroundwater

bool PreferencesManager::SimulationDefaults::ignoreGroundwater = false

◆ ignoreQuality

bool PreferencesManager::SimulationDefaults::ignoreQuality = false

◆ ignoreRainfall

bool PreferencesManager::SimulationDefaults::ignoreRainfall = false

◆ ignoreRdii

bool PreferencesManager::SimulationDefaults::ignoreRdii = false

◆ ignoreRouting

bool PreferencesManager::SimulationDefaults::ignoreRouting = false

◆ ignoreSnowmelt

bool PreferencesManager::SimulationDefaults::ignoreSnowmelt = false

◆ inertialDamping

QString PreferencesManager::SimulationDefaults::inertialDamping = QStringLiteral("PARTIAL")

"Dampen"

◆ infiltrationModel

QString PreferencesManager::SimulationDefaults::infiltrationModel = QStringLiteral("HORTON")

◆ latFlowTolPct

double PreferencesManager::SimulationDefaults::latFlowTolPct = 5.0

LAT_FLOW_TOL surface = percent.

◆ lengtheningStepSec

double PreferencesManager::SimulationDefaults::lengtheningStepSec = 0.0

LENGTHENING_STEP.

◆ maxTrials

int PreferencesManager::SimulationDefaults::maxTrials = 8

◆ minRoutingStepSec

double PreferencesManager::SimulationDefaults::minRoutingStepSec = 0.5

MINIMUM_STEP (CFL floor)

◆ minSlopePct

double PreferencesManager::SimulationDefaults::minSlopePct = 0.0

MIN_SLOPE (%)

◆ module2DEnabled

bool PreferencesManager::SimulationDefaults::module2DEnabled = false

◆ nodeContinuity

QString PreferencesManager::SimulationDefaults::nodeContinuity = QStringLiteral("SEMI_IMPLICIT")

◆ normalFlowLimited

QString PreferencesManager::SimulationDefaults::normalFlowLimited = QStringLiteral("BOTH")

Slope+Froude.

◆ reportStepSec

int PreferencesManager::SimulationDefaults::reportStepSec = 60

REPORT_STEP (1 minute)

◆ routingStepSec

double PreferencesManager::SimulationDefaults::routingStepSec = 5.0

ROUTING_STEP (seconds, fractional ok)

◆ ruleStepSec

int PreferencesManager::SimulationDefaults::ruleStepSec = 0

RULE_STEP (0 = use routing step)

◆ skipSteadyState

bool PreferencesManager::SimulationDefaults::skipSteadyState = false

◆ surchargeMethod

QString PreferencesManager::SimulationDefaults::surchargeMethod = QStringLiteral("EXTRAN")

◆ sweepEnd

QString PreferencesManager::SimulationDefaults::sweepEnd = QStringLiteral("12/31")

◆ sweepStart

QString PreferencesManager::SimulationDefaults::sweepStart = QStringLiteral("01/01")

◆ sysFlowTolPct

double PreferencesManager::SimulationDefaults::sysFlowTolPct = 5.0

SYS_FLOW_TOL surface = percent.

◆ threads

int PreferencesManager::SimulationDefaults::threads = 0

THREADS option. 0 = let the engine auto-pick (default in INP). The GUI defaults the live value to QThread::idealThreadCount() so a fresh project starts maxed out, but the persisted preference is 0 so users who never open the dialog still get the engine's auto.

◆ ufK3

double PreferencesManager::SimulationDefaults::ufK3 = 0.015

UF_K3 (Vitkovsky k3)

◆ unsteadyFriction

QString PreferencesManager::SimulationDefaults::unsteadyFriction = QStringLiteral("NONE")

UNSTEADY_FRICTION.

◆ variableStepFactor

double PreferencesManager::SimulationDefaults::variableStepFactor = 0.75

VARIABLE_STEP Courant fraction (0 disables)

◆ variableStepOn

bool PreferencesManager::SimulationDefaults::variableStepOn = true

◆ wetStepSec

int PreferencesManager::SimulationDefaults::wetStepSec = 60

WET_STEP (1 minute)


The documentation for this struct was generated from the following file: