SABER
tools_const.F90
Go to the documentation of this file.
1 # 1 "/Users/miesch/JEDI/code/working_copy/internal/mpas-bundle/saber/src/saber/util/tools_const.fypp"
2 # 1 "/Users/miesch/JEDI/code/working_copy/internal/mpas-bundle/saber/src/saber/util/../instrumentation.fypp" 1
3 # 1 "/Users/miesch/JEDI/code/working_copy/internal/mpas-bundle/saber/src/saber/util/../subr_list.fypp" 1
4 !----------------------------------------------------------------------
5 ! Header: subr_list
6 !> Subroutines/functions list
7 ! Author: Benjamin Menetrier
8 ! Licensing: this code is distributed under the CeCILL-C license
9 ! Copyright 2015-... UCAR, CERFACS, METEO-FRANCE and IRIT
10 !----------------------------------------------------------------------
11 
12 # 926 "/Users/miesch/JEDI/code/working_copy/internal/mpas-bundle/saber/src/saber/util/../subr_list.fypp"
13 # 2 "/Users/miesch/JEDI/code/working_copy/internal/mpas-bundle/saber/src/saber/util/../instrumentation.fypp" 2
14 !----------------------------------------------------------------------
15 ! Header: instrumentation
16 !> Instrumentation functions
17 ! Author: Benjamin Menetrier
18 ! Licensing: this code is distributed under the CeCILL-C license
19 ! Copyright 2015-... UCAR, CERFACS, METEO-FRANCE and IRIT
20 !----------------------------------------------------------------------
21 
22 # 112 "/Users/miesch/JEDI/code/working_copy/internal/mpas-bundle/saber/src/saber/util/../instrumentation.fypp"
23 # 2 "/Users/miesch/JEDI/code/working_copy/internal/mpas-bundle/saber/src/saber/util/tools_const.fypp" 2
24 !----------------------------------------------------------------------
25 ! Module: tools_const
26 !> Define usual constants and missing values
27 ! Author: Benjamin Menetrier
28 ! Licensing: this code is distributed under the CeCILL-C license
29 ! Copyright 2015-... UCAR, CERFACS, METEO-FRANCE and IRIT
30 !----------------------------------------------------------------------
32 
33 use tools_kinds, only: kind_real
34 
35 implicit none
36 
37 real(kind_real),parameter :: zero = 0.0_kind_real !< Zero
38 real(kind_real),parameter :: hundredth = 0.01_kind_real !< Hundredth
39 real(kind_real),parameter :: tenth = 0.1_kind_real !< Tenth
40 real(kind_real),parameter :: quarter = 0.25_kind_real !< Quarter
41 real(kind_real),parameter :: half = 0.5_kind_real !< Half
42 real(kind_real),parameter :: one = 1.0_kind_real !< One
43 real(kind_real),parameter :: two = 2.0_kind_real !< Two
44 real(kind_real),parameter :: three = 3.0_kind_real !< Three
45 real(kind_real),parameter :: four = 4.0_kind_real !< Four
46 real(kind_real),parameter :: five = 5.0_kind_real !< Five
47 real(kind_real),parameter :: six = 6.0_kind_real !< Six
48 real(kind_real),parameter :: eight = 8.0_kind_real !< Eight
49 real(kind_real),parameter :: ten = 10.0_kind_real !< Ten
50 real(kind_real),parameter :: twelve = 12.0_kind_real !< Twelve
51 real(kind_real),parameter :: hundred = 100.0_kind_real !< Hundred
52 real(kind_real),parameter :: thousand = 1000.0_kind_real !< Thousand
53 real(kind_real),parameter :: pi = acos(-1.0_kind_real) !< Pi
54 real(kind_real),parameter :: deg2rad = pi/180.0_kind_real !< Degree to radian
55 real(kind_real),parameter :: rad2deg = 180.0_kind_real/pi !< Radian to degree
56 real(kind_real),parameter :: req = 6371229.0_kind_real !< Earth radius [in m]
57 real(kind_real),parameter :: reqkm = 6371.229_kind_real !< Earth radius [in km]
58 real(kind_real),parameter :: ps = 101325.0_kind_real !< Reference surface pressure [in Pa]
59 
60 private
63 
64 end module tools_const
Subroutines/functions list.
Definition: tools_const.F90:31
real(kind_real), parameter, public ten
Ten.
Definition: tools_const.F90:49
real(kind_real), parameter, public one
One.
Definition: tools_const.F90:42
real(kind_real), parameter, public three
Three.
Definition: tools_const.F90:44
real(kind_real), parameter, public half
Half.
Definition: tools_const.F90:41
real(kind_real), parameter, public five
Five.
Definition: tools_const.F90:46
real(kind_real), parameter, public pi
Pi.
Definition: tools_const.F90:53
real(kind_real), parameter, public deg2rad
Degree to radian.
Definition: tools_const.F90:54
real(kind_real), parameter, public ps
Reference surface pressure [in Pa].
Definition: tools_const.F90:58
real(kind_real), parameter, public zero
Zero.
Definition: tools_const.F90:37
real(kind_real), parameter, public rad2deg
Radian to degree.
Definition: tools_const.F90:55
real(kind_real), parameter, public reqkm
Earth radius [in km].
Definition: tools_const.F90:57
real(kind_real), parameter, public hundred
Hundred.
Definition: tools_const.F90:51
real(kind_real), parameter, public eight
Eight.
Definition: tools_const.F90:48
real(kind_real), parameter, public six
Six.
Definition: tools_const.F90:47
real(kind_real), parameter, public thousand
Thousand.
Definition: tools_const.F90:52
real(kind_real), parameter, public hundredth
Hundredth.
Definition: tools_const.F90:38
real(kind_real), parameter, public four
Four.
Definition: tools_const.F90:45
real(kind_real), parameter, public tenth
Tenth.
Definition: tools_const.F90:39
real(kind_real), parameter, public twelve
Twelve.
Definition: tools_const.F90:50
real(kind_real), parameter, public two
Two.
Definition: tools_const.F90:43
real(kind_real), parameter, public quarter
Quarter.
Definition: tools_const.F90:40
real(kind_real), parameter, public req
Earth radius [in m].
Definition: tools_const.F90:56
Kinds definition.
Definition: tools_kinds.F90:9
integer, parameter, public kind_real
Real kind alias for the whole code.
Definition: tools_kinds.F90:31