Soil Water Balance (SWB2)
|
This module contains physical constants and convenience functions aimed at performing unit conversions. The functions included in this module perform conversions between various temperature and distance units. More...
Data Types | |
interface | asdouble |
interface | asfloat |
interface | asint |
interface | aslogical |
type | bounds_t |
interface | c_to_f |
establish generic interfaces to single and double precision functions More... | |
interface | c_to_k |
interface | clip |
interface | deg_to_rad |
interface | f_to_c |
interface | f_to_k |
interface | in_to_mm |
interface | mm_to_in |
interface | operator(.approxequal.) |
interface | rad_to_deg |
Functions/Subroutines | |
character(len=len_trim(input_pathname)) function | fix_pathname (input_pathname) |
elemental logical(c_bool) function | approx_equal_float_float (fvalue1, fvalue2) |
elemental logical(c_bool) function | approx_equal_float_double (fvalue1, fvalue2) |
elemental logical(c_bool) function | approx_equal_double_double (fvalue1, fvalue2) |
impure elemental logical(c_bool) function, public | is_numeric (value) |
Determine if string contains numeric values. | |
elemental real(c_float) function | deg_to_rad_sgl_fn (degrees) |
Convert degrees to radians. | |
elemental real(c_double) function | deg_to_rad_dbl_fn (degrees) |
Convert degrees to radians. | |
elemental real(c_float) function | rad_to_deg_sgl_fn (radians) |
Convert radians to degrees. | |
elemental real(c_double) function | rad_to_deg_dbl_fn (radians) |
Convert radians to degrees. | |
elemental real(c_float) function | ftoc_sgl_fn (degrees_f) |
Convert degrees Fahrenheit to degrees Celsius. | |
elemental real(c_double) function | ftoc_dbl_fn (degrees_f) |
Convert degrees Fahrenheit to degrees Celsius. | |
elemental real(c_float) function | ctof_sgl_fn (degrees_c) |
Convert degrees Celsius to degrees Fahrenheit. | |
elemental real(c_double) function | ctof_dbl_fn (degrees_c) |
Convert degrees Celsius to degrees Fahrenheit. | |
elemental real(c_float) function | ftok_sgl_fn (degrees_f) |
Convert degrees Fahrenheit to Kelvins. | |
elemental real(c_double) function | ftok_dbl_fn (degrees_f) |
Convert degrees Fahrenheit to Kelvins. | |
elemental real(c_float) function | ctok_sgl_fn (degrees_c) |
Convert degrees Celsius to Kelvins. | |
elemental real(c_double) function | ctok_dbl_fn (degrees_c) |
Convert degrees Fahrenheit to Kelvins. | |
elemental real(c_float) function | inches_to_mm_sgl_fn (inches) |
Convert inches to mm. | |
elemental real(c_double) function | inches_to_mm_dbl_fn (inches) |
Convert inches to mm. | |
elemental real(c_float) function | mm_to_inches_sgl_fn (mm) |
Convert millimeters to inches. | |
elemental real(c_double) function | mm_to_inches_dbl_fn (mm) |
Convert millimeters to inches. | |
elemental logical(c_bool) function | short2logical (ishortval) |
Convert a short integer to a logical value. | |
elemental logical(c_bool) function | int2logical (ivalue) |
Convert an integer to a logical value. | |
elemental logical(c_bool) function | real2logical (rvalue) |
Convert a real to a logical value. | |
elemental logical(c_bool) function | dbl2logical (rvalue) |
Convert a double to a logical value. | |
elemental logical(c_bool) function | char2logical (svalue) |
Convert a character string to a logical value. | |
elemental integer(c_int) function | short2int (ishortval) |
Convert a short integer to an integer. | |
impure elemental integer(c_int) function | char2int (svalue) |
Convert a character value into a integer. | |
elemental integer(c_int) function | real2int (rvalue) |
Convert a real value into a integer. | |
elemental integer(c_int) function | dbl2int (rvalue) |
Convert a double-precision value to an integer. | |
elemental real(c_float) function | char2real (svalue) |
Convert a character value into a real. | |
elemental real(c_float) function | short2real (ivalue) |
Convert a short int value into a real. | |
elemental real(c_float) function | int2real (ivalue) |
Convert an int value into a real. | |
elemental real(c_float) function | dbl2real (dpvalue) |
Convert a dbl value into a real. | |
elemental pure real(c_float) function | bool2real (lvalue) |
Convert a boolean value into a real. | |
elemental real(c_double) function | char2dbl (svalue) |
Convert a character value into a double. | |
elemental real(c_double) function | short2dbl (ivalue) |
Convert a short int value into a double. | |
elemental real(c_double) function | int2dbl (ivalue) |
Convert an int value into a double. | |
elemental real(c_double) function | real2dbl (fvalue) |
Convert a real value into a double. | |
elemental pure real(c_double) function | bool2dbl (lvalue) |
Convert a boolean value into a double. | |
character(len=256) function, public | char_ptr_to_fortran_string (cpcharacterptr) |
elemental character(len=len(ccharacterstring) - 1) function, public | c_to_fortran_string (ccharacterstring) |
elemental character(len=256) function, public | fortran_to_c_string (stext) |
impure elemental character(len=len(stext1)) function | keepnumeric (stext1) |
Strip everything except numeric characters from a text string. | |
elemental integer(c_int) function | enforce_bounds_int_fn (value, minval, maxval) |
elemental real(c_float) function | enforce_bounds_sgl_fn (value, minval, maxval) |
elemental real(c_double) function | enforce_bounds_dbl_fn (value, minval, maxval) |
Variables | |
integer(c_int), parameter | datatype_int = 0 |
integer(c_int), parameter | datatype_float = 1 |
integer(c_int), parameter | datatype_real = 1 |
integer(c_int), parameter | datatype_double = 2 |
integer(c_int), parameter | datatype_short = 3 |
integer(c_int), parameter | datatype_na = -9999 |
real(c_double), parameter, public | pi = 4.0_c_double*atan(1.0_c_double) |
real(c_double), parameter, public | twopi = PI * 2.0_c_double |
real(c_double), parameter, public | halfpi = PI / 2.0_c_double |
real(c_double), parameter, public | degrees_to_radians = TWOPI / 360.0_c_double |
real(c_double), parameter, public | radians_to_degrees = 360.0_c_double / TWOPI |
logical(c_bool), parameter, public | true = .true._c_bool |
logical(c_bool), parameter, public | false = .false._c_bool |
real(c_float), parameter, public | rbigval = HUGE(0.0_c_float) |
real(c_double), parameter, public | dbigval = HUGE(0.0_c_double) |
integer(c_int), parameter, public | ibigval = HUGE(0_c_int) |
real(c_float), parameter, public | rtinyval = -(HUGE(0.0_c_float) - 1.0) |
real(c_double), parameter, public | dtinyval = -(HUGE(0.0_c_double) - 1.0) |
real(c_float), parameter | ftinyval = -(HUGE(0.0_c_float) - 1.0) |
integer(c_int), parameter, public | itinyval = -(HUGE(0_c_int) - 1) |
real(c_float), parameter, public | rfreezing = 32.0_c_float |
real(c_float), parameter | ffreezing = 32.0_c_float |
real(c_double), parameter, public | dfreezing = 32.0_c_double |
integer(c_int), parameter | izero = 0_c_int |
real(c_float), parameter | fzero = 0.0_c_float |
real(c_float), parameter, public | rzero = 0.0_c_float |
real(c_double), parameter | dzero = 0.0_c_double |
character(len=1) | os_native_path_delimiter |
integer(c_long_long) | random_start = 0 |
real(c_double), parameter, public | c_per_f = 5.0_c_double / 9.0_c_double |
real(c_double), parameter, public | f_per_c = 9.0_c_double / 5.0_c_double |
real(c_double), parameter, public | m_per_foot = 0.3048_c_double |
real(c_double), parameter, public | mm_per_in = 25.4_c_double |
real(c_double), parameter, public | freezing_point_of_water_kelvin = 273.15_c_double |
real(c_double), parameter, public | freezing_point_of_water_fahrenheit = 32.0_c_double |
character(len=:), allocatable, public | output_directory_name |
character(len=:), allocatable, public | output_prefix_name |
character(len=:), allocatable, public | data_directory_name |
character(len=:), allocatable, public | lookup_table_directory_name |
type(bounds_t), public | bnds |
real(c_float), parameter | tolerance_float = 1.0e-6_c_float |
real(c_double), parameter | tolerance_double = 1.0e-9_c_double |
This module contains physical constants and convenience functions aimed at performing unit conversions. The functions included in this module perform conversions between various temperature and distance units.
elemental logical (c_bool) function constants_and_conversions::approx_equal_double_double | ( | real (c_double), intent(in) | fvalue1, |
real (c_double), intent(in) | fvalue2 ) |
Definition at line 260 of file constants_and_conversions.F90.
elemental logical (c_bool) function constants_and_conversions::approx_equal_float_double | ( | real (c_float), intent(in) | fvalue1, |
real (c_double), intent(in) | fvalue2 ) |
Definition at line 242 of file constants_and_conversions.F90.
elemental logical (c_bool) function constants_and_conversions::approx_equal_float_float | ( | real (c_float), intent(in) | fvalue1, |
real (c_float), intent(in) | fvalue2 ) |
Definition at line 225 of file constants_and_conversions.F90.
elemental pure real (c_double) function constants_and_conversions::bool2dbl | ( | logical (c_bool), intent(in) | lvalue | ) |
Convert a boolean value into a double.
Definition at line 850 of file constants_and_conversions.F90.
elemental pure real (c_float) function constants_and_conversions::bool2real | ( | logical (c_bool), intent(in) | lvalue | ) |
Convert a boolean value into a real.
Definition at line 778 of file constants_and_conversions.F90.
elemental character(len=len(ccharacterstring) - 1) function, public constants_and_conversions::c_to_fortran_string | ( | character (len=*), intent(in) | ccharacterstring | ) |
Definition at line 889 of file constants_and_conversions.F90.
elemental real (c_double) function constants_and_conversions::char2dbl | ( | character (len=*), intent(in) | svalue | ) |
Convert a character value into a double.
Definition at line 794 of file constants_and_conversions.F90.
impure elemental integer (c_int) function constants_and_conversions::char2int | ( | character (len=*), intent(in) | svalue | ) |
Convert a character value into a integer.
Definition at line 662 of file constants_and_conversions.F90.
elemental logical (c_bool) function constants_and_conversions::char2logical | ( | character (len=*), intent(in) | svalue | ) |
Convert a character string to a logical value.
Definition at line 626 of file constants_and_conversions.F90.
elemental real (c_float) function constants_and_conversions::char2real | ( | character (len=*), intent(in) | svalue | ) |
Convert a character value into a real.
Definition at line 722 of file constants_and_conversions.F90.
character(len=256) function, public constants_and_conversions::char_ptr_to_fortran_string | ( | type(c_ptr) | cpcharacterptr | ) |
Definition at line 864 of file constants_and_conversions.F90.
elemental real (c_double) function constants_and_conversions::ctof_dbl_fn | ( | real (c_double), intent(in) | degrees_c | ) |
Convert degrees Celsius to degrees Fahrenheit.
[in] | degrees_C | Temperature in degrees Celsius. |
degrees_F | Temperature in degree |
Definition at line 415 of file constants_and_conversions.F90.
elemental real (c_float) function constants_and_conversions::ctof_sgl_fn | ( | real (c_float), intent(in) | degrees_c | ) |
Convert degrees Celsius to degrees Fahrenheit.
[in] | degrees_C | Temperature in degrees Celsius. |
degrees_F | Temperature in degrees Fahrenheit. |
Definition at line 399 of file constants_and_conversions.F90.
elemental real (c_double) function constants_and_conversions::ctok_dbl_fn | ( | real (c_double), intent(in) | degrees_c | ) |
Convert degrees Fahrenheit to Kelvins.
[in] | degrees_C | Temperature in degrees Celsius. |
degrees_K | Temperature in Kelvins. |
Definition at line 479 of file constants_and_conversions.F90.
elemental real (c_float) function constants_and_conversions::ctok_sgl_fn | ( | real (c_float), intent(in) | degrees_c | ) |
Convert degrees Celsius to Kelvins.
[in] | degrees_C | Temperature in degrees Celcius. |
degrees_K | Temperature in Kelvins. |
Definition at line 463 of file constants_and_conversions.F90.
elemental integer (c_int) function constants_and_conversions::dbl2int | ( | real (c_double), intent(in) | rvalue | ) |
Convert a double-precision value to an integer.
Definition at line 709 of file constants_and_conversions.F90.
elemental logical (c_bool) function constants_and_conversions::dbl2logical | ( | real (c_double), intent(in) | rvalue | ) |
Convert a double to a logical value.
Definition at line 606 of file constants_and_conversions.F90.
elemental real (c_float) function constants_and_conversions::dbl2real | ( | real (c_double), intent(in) | dpvalue | ) |
Convert a dbl value into a real.
Definition at line 766 of file constants_and_conversions.F90.
elemental real (c_double) function constants_and_conversions::deg_to_rad_dbl_fn | ( | real (c_double), intent(in) | degrees | ) |
Convert degrees to radians.
[in] | degrees | Angle in degrees. |
radians | Angle in radians. |
Definition at line 320 of file constants_and_conversions.F90.
elemental real (c_float) function constants_and_conversions::deg_to_rad_sgl_fn | ( | real (c_float), intent(in) | degrees | ) |
Convert degrees to radians.
[in] | degrees | Angle in degrees. |
radians | Angle in radians. |
Definition at line 304 of file constants_and_conversions.F90.
elemental real (c_double) function constants_and_conversions::enforce_bounds_dbl_fn | ( | real (c_double), intent(in) | value, |
real (c_double), intent(in) | minval, | ||
real (c_double), intent(in) | maxval ) |
Definition at line 999 of file constants_and_conversions.F90.
elemental integer (c_int) function constants_and_conversions::enforce_bounds_int_fn | ( | integer (c_int), intent(in) | value, |
integer (c_int), intent(in) | minval, | ||
integer (c_int), intent(in) | maxval ) |
Definition at line 977 of file constants_and_conversions.F90.
elemental real (c_float) function constants_and_conversions::enforce_bounds_sgl_fn | ( | real (c_float), intent(in) | value, |
real (c_float), intent(in) | minval, | ||
real (c_float), intent(in) | maxval ) |
Definition at line 988 of file constants_and_conversions.F90.
character (len=len_trim(input_pathname)) function constants_and_conversions::fix_pathname | ( | character (len=*), intent(in) | input_pathname | ) |
Definition at line 196 of file constants_and_conversions.F90.
elemental character(len=256) function, public constants_and_conversions::fortran_to_c_string | ( | character (len=*), intent(in) | stext | ) |
Definition at line 916 of file constants_and_conversions.F90.
elemental real (c_double) function constants_and_conversions::ftoc_dbl_fn | ( | real (c_double), intent(in) | degrees_f | ) |
Convert degrees Fahrenheit to degrees Celsius.
[in] | degrees_F | Temperature in degrees Fahrenheit. |
degrees_C | Temperature in degrees Celcius. |
Definition at line 383 of file constants_and_conversions.F90.
elemental real (c_float) function constants_and_conversions::ftoc_sgl_fn | ( | real (c_float), intent(in) | degrees_f | ) |
Convert degrees Fahrenheit to degrees Celsius.
[in] | degrees_F | Temperature in degrees Fahrenheit. |
degrees_C | Temperature in degrees Celcius. |
Definition at line 367 of file constants_and_conversions.F90.
elemental real (c_double) function constants_and_conversions::ftok_dbl_fn | ( | real (c_double), intent(in) | degrees_f | ) |
Convert degrees Fahrenheit to Kelvins.
[in] | degrees_F | Temperature in degrees Fahrenheit. |
degrees_K | Temperature in Kelvins. |
Definition at line 447 of file constants_and_conversions.F90.
elemental real (c_float) function constants_and_conversions::ftok_sgl_fn | ( | real (c_float), intent(in) | degrees_f | ) |
Convert degrees Fahrenheit to Kelvins.
[in] | degrees_F | Temperature in degrees Fahrenheit. |
degrees_K | Temperature in Kelvins. |
Definition at line 431 of file constants_and_conversions.F90.
elemental real (c_double) function constants_and_conversions::inches_to_mm_dbl_fn | ( | real (c_double), intent(in) | inches | ) |
Convert inches to mm.
[in] | inches | Value in inches. |
mm | Value in millimeters. |
Definition at line 509 of file constants_and_conversions.F90.
elemental real (c_float) function constants_and_conversions::inches_to_mm_sgl_fn | ( | real (c_float), intent(in) | inches | ) |
Convert inches to mm.
[in] | inches | Value in inches. |
mm | Value in millimeters. |
Definition at line 494 of file constants_and_conversions.F90.
elemental real (c_double) function constants_and_conversions::int2dbl | ( | integer (c_int), intent(in) | ivalue | ) |
Convert an int value into a double.
Definition at line 825 of file constants_and_conversions.F90.
elemental logical (c_bool) function constants_and_conversions::int2logical | ( | integer (c_int), intent(in) | ivalue | ) |
Convert an integer to a logical value.
Definition at line 569 of file constants_and_conversions.F90.
elemental real (c_float) function constants_and_conversions::int2real | ( | integer (c_int), intent(in) | ivalue | ) |
Convert an int value into a real.
Definition at line 753 of file constants_and_conversions.F90.
impure elemental logical (c_bool) function, public constants_and_conversions::is_numeric | ( | character (len=*), intent(in) | value | ) |
Determine if string contains numeric values.
[in] | degrees | String value. |
is_numeric | True if any numeric values are present in the string. |
Definition at line 280 of file constants_and_conversions.F90.
impure elemental character (len=len(stext1)) function constants_and_conversions::keepnumeric | ( | character (len=*), intent(in) | stext1 | ) |
Strip everything except numeric characters from a text string.
Keep only the numeric characters in a text string.
[in] | sTextIn |
Definition at line 939 of file constants_and_conversions.F90.
elemental real (c_double) function constants_and_conversions::mm_to_inches_dbl_fn | ( | real (c_double), intent(in) | mm | ) |
Convert millimeters to inches.
[in] | mm | Value in millimeters. |
inches | Value in inches. |
Definition at line 539 of file constants_and_conversions.F90.
elemental real (c_float) function constants_and_conversions::mm_to_inches_sgl_fn | ( | real (c_float), intent(in) | mm | ) |
Convert millimeters to inches.
[in] | mm | Value in millimeters. |
inches | Value in inches. |
Definition at line 524 of file constants_and_conversions.F90.
elemental real (c_double) function constants_and_conversions::rad_to_deg_dbl_fn | ( | real (c_double), intent(in) | radians | ) |
Convert radians to degrees.
[in] | radians | Angle in radians. |
degrees | Angle in degrees. |
Definition at line 351 of file constants_and_conversions.F90.
elemental real (c_float) function constants_and_conversions::rad_to_deg_sgl_fn | ( | real (c_float), intent(in) | radians | ) |
Convert radians to degrees.
[in] | radians | Angle in radians. |
degrees | Angle in degrees. |
Definition at line 336 of file constants_and_conversions.F90.
elemental real (c_double) function constants_and_conversions::real2dbl | ( | real (c_float), intent(in) | fvalue | ) |
Convert a real value into a double.
Definition at line 838 of file constants_and_conversions.F90.
elemental integer (c_int) function constants_and_conversions::real2int | ( | real (c_float), intent(in) | rvalue | ) |
Convert a real value into a integer.
Definition at line 696 of file constants_and_conversions.F90.
elemental logical (c_bool) function constants_and_conversions::real2logical | ( | real (c_float), intent(in) | rvalue | ) |
Convert a real to a logical value.
Definition at line 586 of file constants_and_conversions.F90.
elemental real (c_double) function constants_and_conversions::short2dbl | ( | integer (c_short), intent(in) | ivalue | ) |
Convert a short int value into a double.
Definition at line 812 of file constants_and_conversions.F90.
elemental integer (c_int) function constants_and_conversions::short2int | ( | integer (c_short), intent(in) | ishortval | ) |
Convert a short integer to an integer.
Definition at line 649 of file constants_and_conversions.F90.
elemental logical (c_bool) function constants_and_conversions::short2logical | ( | integer (c_short), intent(in) | ishortval | ) |
Convert a short integer to a logical value.
Definition at line 552 of file constants_and_conversions.F90.
elemental real (c_float) function constants_and_conversions::short2real | ( | integer (c_short), intent(in) | ivalue | ) |
Convert a short int value into a real.
Definition at line 740 of file constants_and_conversions.F90.
type (bounds_t), public constants_and_conversions::bnds |
Definition at line 84 of file constants_and_conversions.F90.
real (c_double), parameter, public constants_and_conversions::c_per_f = 5.0_c_double / 9.0_c_double |
Definition at line 61 of file constants_and_conversions.F90.
character (len=:), allocatable, public constants_and_conversions::data_directory_name |
Definition at line 72 of file constants_and_conversions.F90.
integer (c_int), parameter constants_and_conversions::datatype_double = 2 |
Definition at line 18 of file constants_and_conversions.F90.
integer (c_int), parameter constants_and_conversions::datatype_float = 1 |
Definition at line 16 of file constants_and_conversions.F90.
integer (c_int), parameter constants_and_conversions::datatype_int = 0 |
Definition at line 15 of file constants_and_conversions.F90.
integer (c_int), parameter constants_and_conversions::datatype_na = -9999 |
Definition at line 20 of file constants_and_conversions.F90.
integer (c_int), parameter constants_and_conversions::datatype_real = 1 |
Definition at line 17 of file constants_and_conversions.F90.
integer (c_int), parameter constants_and_conversions::datatype_short = 3 |
Definition at line 19 of file constants_and_conversions.F90.
real (c_double), parameter, public constants_and_conversions::dbigval = HUGE(0.0_c_double) |
Definition at line 42 of file constants_and_conversions.F90.
real (c_double), parameter, public constants_and_conversions::degrees_to_radians = TWOPI / 360.0_c_double |
Definition at line 30 of file constants_and_conversions.F90.
real (c_double), parameter, public constants_and_conversions::dfreezing = 32.0_c_double |
Definition at line 50 of file constants_and_conversions.F90.
real (c_double), parameter, public constants_and_conversions::dtinyval = -(HUGE(0.0_c_double) - 1.0) |
Definition at line 45 of file constants_and_conversions.F90.
real (c_double), parameter constants_and_conversions::dzero = 0.0_c_double |
Definition at line 54 of file constants_and_conversions.F90.
real (c_double), parameter, public constants_and_conversions::f_per_c = 9.0_c_double / 5.0_c_double |
Definition at line 62 of file constants_and_conversions.F90.
logical (c_bool), parameter, public constants_and_conversions::false = .false._c_bool |
Definition at line 39 of file constants_and_conversions.F90.
real (c_float), parameter constants_and_conversions::ffreezing = 32.0_c_float |
Definition at line 49 of file constants_and_conversions.F90.
real (c_double), parameter, public constants_and_conversions::freezing_point_of_water_fahrenheit = 32.0_c_double |
Definition at line 66 of file constants_and_conversions.F90.
real (c_double), parameter, public constants_and_conversions::freezing_point_of_water_kelvin = 273.15_c_double |
Definition at line 65 of file constants_and_conversions.F90.
real (c_float), parameter constants_and_conversions::ftinyval = -(HUGE(0.0_c_float) - 1.0) |
Definition at line 46 of file constants_and_conversions.F90.
real (c_float), parameter constants_and_conversions::fzero = 0.0_c_float |
Definition at line 52 of file constants_and_conversions.F90.
real (c_double), parameter, public constants_and_conversions::halfpi = PI / 2.0_c_double |
Definition at line 26 of file constants_and_conversions.F90.
integer(c_int), parameter, public constants_and_conversions::ibigval = HUGE(0_c_int) |
Definition at line 43 of file constants_and_conversions.F90.
integer(c_int), parameter, public constants_and_conversions::itinyval = -(HUGE(0_c_int) - 1) |
Definition at line 47 of file constants_and_conversions.F90.
integer (c_int), parameter constants_and_conversions::izero = 0_c_int |
Definition at line 51 of file constants_and_conversions.F90.
character (len=:), allocatable, public constants_and_conversions::lookup_table_directory_name |
Definition at line 73 of file constants_and_conversions.F90.
real (c_double), parameter, public constants_and_conversions::m_per_foot = 0.3048_c_double |
Definition at line 63 of file constants_and_conversions.F90.
real (c_double), parameter, public constants_and_conversions::mm_per_in = 25.4_c_double |
Definition at line 64 of file constants_and_conversions.F90.
character (len=1) constants_and_conversions::os_native_path_delimiter |
Definition at line 57 of file constants_and_conversions.F90.
character (len=:), allocatable, public constants_and_conversions::output_directory_name |
Definition at line 70 of file constants_and_conversions.F90.
character (len=:), allocatable, public constants_and_conversions::output_prefix_name |
Definition at line 71 of file constants_and_conversions.F90.
real (c_double), parameter, public constants_and_conversions::pi = 4.0_c_double*atan(1.0_c_double) |
Definition at line 24 of file constants_and_conversions.F90.
real (c_double), parameter, public constants_and_conversions::radians_to_degrees = 360.0_c_double / TWOPI |
Definition at line 31 of file constants_and_conversions.F90.
integer (c_long_long) constants_and_conversions::random_start = 0 |
Definition at line 58 of file constants_and_conversions.F90.
real (c_float), parameter, public constants_and_conversions::rbigval = HUGE(0.0_c_float) |
Definition at line 41 of file constants_and_conversions.F90.
real (c_float), parameter, public constants_and_conversions::rfreezing = 32.0_c_float |
Definition at line 48 of file constants_and_conversions.F90.
real (c_float), parameter, public constants_and_conversions::rtinyval = -(HUGE(0.0_c_float) - 1.0) |
Definition at line 44 of file constants_and_conversions.F90.
real (c_float), parameter, public constants_and_conversions::rzero = 0.0_c_float |
Definition at line 53 of file constants_and_conversions.F90.
real (c_double), parameter constants_and_conversions::tolerance_double = 1.0e-9_c_double |
Definition at line 192 of file constants_and_conversions.F90.
real (c_float), parameter constants_and_conversions::tolerance_float = 1.0e-6_c_float |
Definition at line 191 of file constants_and_conversions.F90.
logical (c_bool), parameter, public constants_and_conversions::true = .true._c_bool |
Definition at line 38 of file constants_and_conversions.F90.
real (c_double), parameter, public constants_and_conversions::twopi = PI * 2.0_c_double |
Definition at line 25 of file constants_and_conversions.F90.