source: LMDZ6/trunk/libf/phylmd/rrtm/yoesrtwn.F90 @ 5435

Last change on this file since 5435 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: 2.4 KB
Line 
1MODULE YOESRTWN
2
3USE PARKIND1  ,ONLY : JPIM     ,JPRB
4
5IMPLICIT NONE
6
7SAVE
8
9!    -------------------------------------------------------------------
10
11INTEGER(KIND=JPIM) , DIMENSION(16:29) :: NG
12INTEGER(KIND=JPIM) , DIMENSION(16:29) :: NSPA
13INTEGER(KIND=JPIM) , DIMENSION(16:29) :: NSPB
14INTEGER(KIND=JPIM) , DIMENSION(14)    :: NMPSRTM
15
16REAL(KIND=JPRB) , DIMENSION(16:29) :: WAVENUM1
17REAL(KIND=JPRB) , DIMENSION(16:29) :: WAVENUM2
18REAL(KIND=JPRB) , DIMENSION(16:29) :: DELWAVE
19
20REAL(KIND=JPRB), DIMENSION(59) :: PREF
21REAL(KIND=JPRB), DIMENSION(59) :: PREFLOG
22REAL(KIND=JPRB), DIMENSION(59) :: TREF
23
24INTEGER(KIND=JPIM), DIMENSION(224) :: NGM
25INTEGER(KIND=JPIM), DIMENSION(14)  :: NGC, NGS
26! Use for 112 g-points
27INTEGER(KIND=JPIM), DIMENSION(112) :: NGBSW, NGN
28! Use for 224 g-points
29!INTEGER(KIND=JPIM), DIMENSION(224) :: NGBSW, NGN
30
31REAL(KIND=JPRB), DIMENSION(16)  :: WT, WTSM
32REAL(KIND=JPRB), DIMENSION(224) :: RWGT
33
34!     -----------------------------------------------------------------
35!        * E.C.M.W.F. PHYSICS PACKAGE ** RRTM SW RADIATION **
36
37!     J.-J. MORCRETTE       E.C.M.W.F.      03-03-07
38!     M. J. IACONO          AER             12/09/03
39
40!  NAME     TYPE     PURPOSE
41!  ----   : ----    : -------
42!  NG     : INTEGER : Number of k-coefficients in spectral intervals
43!  NSPA   : INTEGER :
44!  NSPB   : INTEGER :
45! NMPSRTM : INTEGER : MAAPING INDICES FOR 6-SPECTRAL INT. SURFACE ALBEDO
46! WAVENUM1: REAL    : Lower wavenumber spectral limit
47! WAVENUM2: REAL    : Higher wavenumber spectral limit
48! DELWAVE : REAL    : Spectral interval width
49! PREF    : REAL    : Reference pressure
50! PREFLOG : REAL    : Log reference pressure
51! TREF    : REAL    : Reference temperature
52!  NGC    : INTEGER : The number of new g-points in each band
53!  NGS    : INTEGER : The cumulative sum of new g-points for each band
54!  NGM    : INTEGER : The index of each new g-point relative to the
55!                     original 16 g-points for each band.
56!  NGN    : INTEGER : The number of original g-points that are combined
57!                     to make each new g-point in each band.
58!  NGB    : INTEGER : The band index for each new g-point.
59!  WT     : REAL    : RRTM weights for 16 g-points.
60!  WTSUM  : REAL    : Sum of the weights
61!  RWGT   : REAL    :
62!     -----------------------------------------------------------------
63!$OMP THREADPRIVATE(delwave,ng,ngbsw,ngc,ngm,ngn,ngs,nmpsrtm,nspa,nspb)
64!$OMP THREADPRIVATE(pref,preflog,rwgt,tref,wavenum1,wavenum2,wt,wtsm)
65END MODULE YOESRTWN
66
Note: See TracBrowser for help on using the repository browser.