source: LMDZ5/trunk/libf/phylmd/rrtm/yomrip.F90

Last change on this file was 2010, checked in by Laurent Fairhead, 11 years ago

Modifications pour OpenMP


OpenMP modifications

  • Property copyright set to
    Name of program: LMDZ
    Creation date: 1984
    Version: LMDZ5
    License: CeCILL version 2
    Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
    See the license file in the root directory
File size: 3.2 KB
Line 
1MODULE YOMRIP
2
3USE PARKIND1  ,ONLY : JPIM     ,JPRB
4
5IMPLICIT NONE
6
7SAVE
8
9!     ------------------------------------------------------------------
10
11!*    Real time related variables (updated in UPDTIM)
12
13!     NINDAT : run initial date in the form AAAAMMDD
14!     NSSSSS : initial time in seconds (e.g. for 12h, 43200)
15!     RTIMST : ABSOLUTE TIME OF THE MODEL AT START
16
17!     NSTADD : NUMBER OF DAYS SINCE START OF THE MODEL
18!     NSTASS : NUMBER OF SECONDS since start of model modulo(86400)
19!     RSTATI : NUMBER OF SECONDS SINCE START OF THE MODEL
20!     RTIMTR : ABSOLUTE TIME OF THE MODEL
21
22!     RHGMT  : GMT TIME OF THE MODEL  (BETWEEN 0 AND 86400)
23!     REQTIM : EQUATION OF TIME
24
25!     ------------------------------------------------------------------
26
27!*    Sun related variables (updated in UPDTIM)
28!     RSOVR  : TRUE SOLAR TIME (GMT+EQUATION OF TIME)
29
30!     RDEASO : DISTANCE EARTH-SUN
31!     RDECLI : DECLINATION
32!     RWSOVR : IN RADIANS, TRUE SOLAR TIME (GMT+EQUATION OF TIME)
33!              THIS ANGLE IS ALSO PI - (LONGITUDE OF THE POINT
34!              WHERE THE SUN IS AT ZENITH)
35!     RIP0   : I0 WEIGHTED BY THE DISTANCE EARTH-SUN
36
37!     RCODEC : COSINE OF THE DECLINATION
38!     RSIDEC :   SINE OF THE DECLINATION
39
40!     RCOVSR : COSINE OF TRUE SOLAR TIME
41!     RSIVSR :   SINE OF TRUE SOLAR TIME
42
43!     ------------------------------------------------------------------
44
45!*    Moon related variables (updated in UPDTIM)
46
47!     RDECLU : LUNAR DECLINATION
48!     RTMOLT : IN RADIANS, TRUE LUNAR TIME (GMT+EQUATION OF TIME)
49!              THIS ANGLE IS ALSO PI - (LONGITUDE OF THE POINT
50!              WHERE THE MOON IS AT ZENITH)
51!     RIP0LU : LUNAR I0 (DOWNWARD TOA LUNAR FLUX)
52
53!     RCODECLU : COSINE OF THE LUNAR DECLINATION
54!     RSIDECLU :   SINE OF THE LUNAR DECLINATION
55
56!     RCOVSRLU : COSINE OF TRUE LUNAR TIME
57!     RSIVSRLU :   SINE OF TRUE LUNAR TIME
58
59!     ------------------------------------------------------------------
60
61!*    Time step related variables
62
63!     RDTSA  : TDT  /RA
64!     RDTSA2 : RDTSA**2
65!     RDTS62 : RDTSA**2/6
66!     RDTS22 : RDTSA**2/2
67
68!     RTDT   : TDT
69
70INTEGER(KIND=JPIM) :: NINDAT
71INTEGER(KIND=JPIM) :: NSSSSS
72INTEGER(KIND=JPIM) :: NSTADD
73INTEGER(KIND=JPIM) :: NSTASS
74REAL(KIND=JPRB) :: RTIMST
75REAL(KIND=JPRB) :: RSTATI
76REAL(KIND=JPRB) :: RTIMTR
77REAL(KIND=JPRB) :: RHGMT
78REAL(KIND=JPRB) :: REQTIM
79REAL(KIND=JPRB) :: RSOVR
80REAL(KIND=JPRB) :: RDEASO
81REAL(KIND=JPRB) :: RDECLI
82REAL(KIND=JPRB) :: RWSOVR
83REAL(KIND=JPRB) :: RIP0
84REAL(KIND=JPRB) :: RCODEC
85REAL(KIND=JPRB) :: RSIDEC
86REAL(KIND=JPRB) :: RCOVSR
87REAL(KIND=JPRB) :: RSIVSR
88REAL(KIND=JPRB) :: RDTSA
89REAL(KIND=JPRB) :: RDTSA2
90REAL(KIND=JPRB) :: RDTS62
91REAL(KIND=JPRB) :: RDTS22
92REAL(KIND=JPRB) :: RTDT
93REAL(KIND=JPRB) :: RDECLU
94REAL(KIND=JPRB) :: RTMOLT
95REAL(KIND=JPRB) :: RIP0LU
96REAL(KIND=JPRB) :: RCODECLU
97REAL(KIND=JPRB) :: RSIDECLU
98REAL(KIND=JPRB) :: RCOVSRLU
99REAL(KIND=JPRB) :: RSIVSRLU
100!     ------------------------------------------------------------------
101!$OMP THREADPRIVATE(nindat,nsssss,nstadd,nstass,rcodec,rcodeclu,rcovsr,rcovsrlu,rdeaso,rdecli,rdeclu)
102!$OMP THREADPRIVATE(rdts22,rdts62,rdtsa,rdtsa2,reqtim,rhgmt,rip0,rip0lu,rsidec,rsideclu,rsivsr)
103!$OMP THREADPRIVATE(rsivsrlu,rsovr,rstati,rtdt,rtimst,rtimtr,rtmolt,rwsovr)
104END MODULE YOMRIP
Note: See TracBrowser for help on using the repository browser.