OpenSWMM Engine  6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
Loading...
Searching...
No Matches
openswmm::constants::ode Namespace Reference

Variables

constexpr int MAX_STEPS = 10000
 Maximum number of integration steps.
 
constexpr double ODE_TINY = 1.0e-30
 Underflow protection for scaling.
 
constexpr double SAFETY = 0.9
 Safety factor for step size adjustment.
 
constexpr double PGROW = -0.2
 Exponent for step increase.
 
constexpr double PSHRNK = -0.25
 Exponent for step decrease.
 
constexpr double ERRCON = 1.89e-4
 Error control threshold = (5/SAFETY)^(1/PGROW).
 
constexpr double GWTOL = 0.0001
 
constexpr double ODETOL = 0.0001
 Runoff ODE tolerance.
 

Variable Documentation

◆ ERRCON

constexpr double openswmm::constants::ode::ERRCON = 1.89e-4
constexpr

Error control threshold = (5/SAFETY)^(1/PGROW).

◆ GWTOL

constexpr double openswmm::constants::ode::GWTOL = 0.0001
constexpr

Groundwater ODE tolerance.

See also
Legacy: GWTOL in gwater.c

◆ MAX_STEPS

constexpr int openswmm::constants::ode::MAX_STEPS = 10000
constexpr

Maximum number of integration steps.

◆ ODE_TINY

constexpr double openswmm::constants::ode::ODE_TINY = 1.0e-30
constexpr

Underflow protection for scaling.

◆ ODETOL

constexpr double openswmm::constants::ode::ODETOL = 0.0001
constexpr

Runoff ODE tolerance.

◆ PGROW

constexpr double openswmm::constants::ode::PGROW = -0.2
constexpr

Exponent for step increase.

◆ PSHRNK

constexpr double openswmm::constants::ode::PSHRNK = -0.25
constexpr

Exponent for step decrease.

◆ SAFETY

constexpr double openswmm::constants::ode::SAFETY = 0.9
constexpr

Safety factor for step size adjustment.