source: LMDZ6/trunk/libf/phylmd/rrtm/yomtoph.F90 @ 3513

Last change on this file since 3513 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.0 KB
Line 
1MODULE YOMTOPH
2
3USE PARKIND1  ,ONLY : JPIM     ,JPRB
4
5IMPLICIT NONE
6
7SAVE
8
9!*
10!     ------------------------------------------------------------------
11!     Top limits of parametrization call
12!     we have one by parameterization,
13!              ETXXXX : Top pressure
14!              NTXXXX : Corresponding level in standard atmosphere
15
16!       ETQSAT,ETDIFU,ETCOEF,ETDRAG,ETCVIM,ETPLUI,ETRADI,ETNEBU
17!       ETOZON,ETDRME,ETCOEFE,ETCOET,ETAJUC,NTAJUC
18!       NTQSAT,NTDIFU,NTCOEF,NTDRAG,NTCVIM,NTPLUI,NTRADI,NTNEBU
19!       NTOZON,NTDRME,NTCOEFE,NTCOET
20
21!     Constants for Mesospheric drag parameterization
22
23!       XDRMUK  : Mesospheric drag coefficient for U and V
24!       XDRMUX  : Maximum mesospheric drag coefficient for U and V
25!       XDRMUP  : Bottom pressure for U and V
26!       XDRMTK  : Mesospheric drag coefficient for T
27!       XDRMTX  : Maximum mesospheric drag coefficient for T
28!       XDRMTP  : Bottom pressure for T
29!       XDRMQK  : Mesospheric drag coefficient for Q
30!       XDRMQP  : Bottom pressure for Q
31
32!       RMESOU(NFLEVG) : Vertical mesospheric drag profil for U and V
33!       RMESOT(NFLEVG) : Vertical mesospheric drag profil for T
34!       RMESOQ(NFLEV)  : Vertical mesospheric drag profil for Q
35
36!       RFMESOQ   : Mesospheric water reference
37
38!       RCLX      : Multiplicator for Cl term in ozone photochemistry
39
40!       TPSCLIM   : Temperature threshold for activation of heterogeneous
41!                   chemistry (polar stratospheric clouds temperature formation)
42
43REAL(KIND=JPRB),ALLOCATABLE:: RMESOU(:)
44REAL(KIND=JPRB),ALLOCATABLE:: RMESOT(:)
45REAL(KIND=JPRB),ALLOCATABLE:: RMESOQ(:)
46
47REAL(KIND=JPRB) :: RFMESOQ
48
49INTEGER(KIND=JPIM) :: NTQSAT
50INTEGER(KIND=JPIM) :: NTDIFU
51INTEGER(KIND=JPIM) :: NTCOEF
52INTEGER(KIND=JPIM) :: NTDRAG
53INTEGER(KIND=JPIM) :: NTCVIM
54INTEGER(KIND=JPIM) :: NTPLUI
55INTEGER(KIND=JPIM) :: NTRADI
56INTEGER(KIND=JPIM) :: NTNEBU
57INTEGER(KIND=JPIM) :: NTOZON
58INTEGER(KIND=JPIM) :: NTDRME
59INTEGER(KIND=JPIM) :: NTCOEFE
60INTEGER(KIND=JPIM) :: NTCOET
61INTEGER(KIND=JPIM) :: NTAJUC
62REAL(KIND=JPRB) :: ETQSAT
63REAL(KIND=JPRB) :: ETDIFU
64REAL(KIND=JPRB) :: ETCOEF
65REAL(KIND=JPRB) :: ETDRAG
66REAL(KIND=JPRB) :: ETCVIM
67REAL(KIND=JPRB) :: ETPLUI
68REAL(KIND=JPRB) :: ETRADI
69REAL(KIND=JPRB) :: ETNEBU
70REAL(KIND=JPRB) :: ETOZON
71REAL(KIND=JPRB) :: ETDRME
72REAL(KIND=JPRB) :: ETCOEFE
73REAL(KIND=JPRB) :: ETCOET
74REAL(KIND=JPRB) :: ETAJUC
75REAL(KIND=JPRB) :: XDRMUK
76REAL(KIND=JPRB) :: XDRMUX
77REAL(KIND=JPRB) :: XDRMUP
78REAL(KIND=JPRB) :: XDRMTK
79REAL(KIND=JPRB) :: XDRMTX
80REAL(KIND=JPRB) :: XDRMTP
81REAL(KIND=JPRB) :: XDRMQK
82REAL(KIND=JPRB) :: XDRMQP
83
84REAL(KIND=JPRB) :: RCLX
85
86REAL(KIND=JPRB) :: TPSCLIM
87
88!     ------------------------------------------------------------------
89!$OMP THREADPRIVATE(etajuc,etcoef,etcoefe,etcoet,etcvim,etdifu,etdrag,etdrme,etnebu,etozon,etplui)
90!$OMP THREADPRIVATE(etqsat,etradi,ntajuc,ntcoef,ntcoefe,ntcoet,ntcvim,ntdifu,ntdrag,ntdrme,ntnebu)
91!$OMP THREADPRIVATE(ntozon,ntplui,ntqsat,ntradi,rclx,rfmesoq,tpsclim,xdrmqk,xdrmqp,xdrmtk,xdrmtp)
92!$OMP THREADPRIVATE(xdrmtx,xdrmuk,xdrmup,xdrmux)
93!$OMP THREADPRIVATE(rmesoq,rmesot,rmesou)
94END MODULE YOMTOPH
Note: See TracBrowser for help on using the repository browser.