13#ifndef OPENSWMM_ENGINE_2D_SOLVER_OPTIONS_HPP
14#define OPENSWMM_ENGINE_2D_SOLVER_OPTIONS_HPP
Definition NodeCoupling.cpp:15
RainfallMode
How raingage rainfall is mapped onto the 2D mesh cells.
Definition SolverOptions2D.hpp:118
@ NATURAL_NEIGHBOUR
Default: spatial interpolation across all gages.
Definition SolverOptions2D.hpp:119
@ SYSTEM
Uniform = mean of all gages.
Definition SolverOptions2D.hpp:120
PreconditionerType
Preconditioner selector for the Krylov inner solver.
Definition SolverOptions2D.hpp:64
@ AMG
WIRED when built with OPENSWMM_WITH_HYPRE (BoomerAMG).
Definition SolverOptions2D.hpp:68
@ NONE
WIRED (no preconditioning).
Definition SolverOptions2D.hpp:65
@ JACOBI
WIRED (diagonal heuristic).
Definition SolverOptions2D.hpp:66
@ ILU
Reserved; rejected at initialize().
Definition SolverOptions2D.hpp:67
LinearSolverType
Krylov linear solver selector for the BDF + Newton + Krylov stack.
Definition SolverOptions2D.hpp:34
@ BICGSTAB
Reserved; rejected at initialize() in Phase 1.
Definition SolverOptions2D.hpp:36
@ TFQMR
Reserved; rejected at initialize() in Phase 1.
Definition SolverOptions2D.hpp:37
@ GMRES
Phase 1: WIRED (SUNLinSol_SPGMR).
Definition SolverOptions2D.hpp:35
IntegratorType
Time-integrator selector for the 2D surface ODE.
Definition SolverOptions2D.hpp:82
@ ARKODE
ARKStep IMEX additive-RK (ArkodeSurfaceSolver).
Definition SolverOptions2D.hpp:84
@ CVODE
Default: fully-implicit BDF (CvodeSurfaceSolver).
Definition SolverOptions2D.hpp:83
MomentumType
Surface-momentum closure for the 2D flux.
Definition SolverOptions2D.hpp:97
@ DW
Manning diffusive wave (default).
Definition SolverOptions2D.hpp:98
@ INERTIAL
Local-inertial (LISFLOOD-FP) with per-edge q.
Definition SolverOptions2D.hpp:99
Configuration for the 2D surface routing CVODE solver.
Definition SolverOptions2D.hpp:132
double flow_2d_to_1d
2D flow → 1D flow (m³/s→ft³/s, 35.315)
Definition SolverOptions2D.hpp:228
int coupling_interval
Definition SolverOptions2D.hpp:150
int max_krylov_dim
Max Krylov subspace dimension.
Definition SolverOptions2D.hpp:149
double coupling_window
Definition SolverOptions2D.hpp:160
double len_2d_to_1d
2D length → 1D length (m→ft, 3.2808)
Definition SolverOptions2D.hpp:225
PreconditionerType preconditioner
Definition SolverOptions2D.hpp:200
double limiter_epsilon
Definition SolverOptions2D.hpp:138
LinearSolverType linear_solver
Definition SolverOptions2D.hpp:192
bool mesh_units_si
Definition SolverOptions2D.hpp:248
double rel_tolerance
CVODE relative tolerance.
Definition SolverOptions2D.hpp:135
double max_timestep
Max CVODE internal step (s)
Definition SolverOptions2D.hpp:133
MomentumType momentum
Definition SolverOptions2D.hpp:184
std::string output_file
Definition SolverOptions2D.hpp:208
double vol_1d_to_2d
1D volume → 2D volume (ft³→m³, 0.02832)
Definition SolverOptions2D.hpp:226
RainfallMode rainfall_mode
Definition SolverOptions2D.hpp:190
double dry_depth
Dry cell threshold (m)
Definition SolverOptions2D.hpp:137
bool report_2d
Write 2D results to output.
Definition SolverOptions2D.hpp:174
int active_set_halo
Definition SolverOptions2D.hpp:173
int num_threads
Definition SolverOptions2D.hpp:238
double coupling_cd
Default discharge coefficient.
Definition SolverOptions2D.hpp:148
int max_cvode_steps
Max CVODE steps per advance.
Definition SolverOptions2D.hpp:161
std::string mesh_file
Path from [2D_MESH_FILE] FILE token. Empty = mesh is inline in main .inp.
Definition SolverOptions2D.hpp:203
bool pending_rows_drained
Definition SolverOptions2D.hpp:263
double flux_dh_eps
Diffusive-flux gradient floor (m)
Definition SolverOptions2D.hpp:147
double len_1d_to_2d
1D length → 2D length (ft→m, 0.3048)
Definition SolverOptions2D.hpp:224
double abs_tolerance
CVODE absolute tolerance (m)
Definition SolverOptions2D.hpp:136
bool mesh_scaled_to_si
Definition SolverOptions2D.hpp:255
bool active_set
Definition SolverOptions2D.hpp:169
double min_timestep
Min CVODE internal step (s)
Definition SolverOptions2D.hpp:134
IntegratorType integrator
Definition SolverOptions2D.hpp:179
double flow_1d_to_2d
1D flow → 2D flow (ft³/s→m³/s, 0.02832)
Definition SolverOptions2D.hpp:227