Constants Class |
Namespace: DHI.Mike1D.Generic
The Constants type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | 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.
|