Constants Class

Constants used throughout Mike1D

Definition

Namespace: DHI.Mike1D.Generic
Assembly: DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public static class Constants
Inheritance
Object    Constants

Fields

DOUBLE_DELETE_VALUE Value used as delete value for data values that has not been set
g Gravity Unit: [m^2/s] Value: 9.81
LOCATION_EQUAL_TOLERANCE Tolerance used when comparing coordinate points
MIN_DIVIDER The smallest number that is allowed as divisor. Unit: [] Value: 1e-15
MIN_SLOPE Minimum slope, for calculations that require a non-zero slope. Value is 1e-9.
PFS_DELETE_VALUE Value used as delete value when writing/reading PFS files from Mike1D
sqrt_2 Square root of 2 Unit: [1] Value: Sqrt(2)
sqrt_g Square root of gravity Unit: [m/sqrt(s)] Value: Sqrt(9.81)
STRING_DELETE_VALUE Value used as delete value for values that hasn't been set
ZERO_TOLERANCE Value used to determine wheather a number is to be treated as a zero. Value is 1e-13.

See Also