module s2dw_types_mod ! Variables integer, public, parameter :: sp = SELECTED_REAL_KIND (5, 30) integer, public, parameter :: dp_p = 12 integer, public, parameter :: dp_r = 200 integer, public, parameter :: dp = SELECTED_REAL_KIND (dp_p, dp_r) integer, public, parameter :: spc = KIND ((1.0_sp, 1.0_sp)) integer, public, parameter :: dpc = KIND ((1.0_dp, 1.0_dp)) real (kind=dp), public, parameter :: TOL_ADMISS = 1e-12 real (kind=dp), public, parameter :: TOL_ZERO = 1e-12 real (kind=dp), public, parameter :: TOL_QUAD = 1d-12 real (kind=dp), public, parameter :: TOL_LIMIT = 1d-12 real (kind=dp), public, parameter :: TOL_CEIL = 1d-5 integer, public, parameter :: STRING_LEN = 256 real (kind=dp), public, parameter :: PI = 3.141592653589793238462643383279502884197_dp real (kind=dp), public, parameter :: PION2 = 1.570796326794896619231321691639751442099_dp complex (kind=dpc), public, parameter :: I = (0.0_dp, 1.0_dp) end module s2dw_types_modDefinition of intrinsic types and constants used in the s2dw library.
Author: J. D. McEwen (mcewen@mrao.cam.ac.uk)
Version: 0.1 October 2007
integer, public, parameter :: sp = SELECTED_REAL_KIND (5, 30)Type definition for single precision real.
integer, public, parameter :: dp_p = 12Decimal precision for double precision real.
integer, public, parameter :: dp_r = 200Radix for double precision real.
integer, public, parameter :: dp = SELECTED_REAL_KIND (dp_p, dp_r)Type definition for double precision real.
integer, public, parameter :: spc = KIND ((1.0_sp, 1.0_sp))Type definition for single precisison complex.
integer, public, parameter :: dpc = KIND ((1.0_dp, 1.0_dp))Type definition for double precision complex.
real (kind=dp), public, parameter :: TOL_ADMISS = 1e-12Admissibility tolerance.
real (kind=dp), public, parameter :: TOL_ZERO = 1e-12Zero tolerance.
real (kind=dp), public, parameter :: TOL_QUAD = 1d-12Numerical integration tolerance.
real (kind=dp), public, parameter :: TOL_LIMIT = 1d-12Limit opening tolerance for definite numerical integration.
real (kind=dp), public, parameter :: TOL_CEIL = 1d-5Tolerance for floor and ceiling functions.
integer, public, parameter :: STRING_LEN = 256String buffer length.
real (kind=dp), public, parameter :: PI = 3.141592653589793238462643383279502884197_dpPI definition.
real (kind=dp), public, parameter :: PION2 = 1.570796326794896619231321691639751442099_dpPI/2 definition.
complex (kind=dpc), public, parameter :: I = (0.0_dp, 1.0_dp)Complex unit definition.