source: LMDZ6/branches/contrails/libf/phylmd/rrtm/yomcver.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: 2.1 KB
Line 
1MODULE YOMCVER
2
3USE PARKIND1  ,ONLY : JPIM     ,JPRB
4
5IMPLICIT NONE
6
7SAVE
8
9! -----------------------------------------------------------------------------
10
11! * Variables related to vertical discretisation in finite elements:
12! LVERTFE : .T./.F. Finite element/conventional vertical discretisation.
13! NVSCH   : type of basis if the finite element vertical discretisation is used.
14!           1: linear functions.
15!           3: Hermite cubic functions.
16! RINTE   : matricial operator for vertical integrations in the
17!           finite element vertical discretisation.
18! RDERI   : matricial operator for vertical derivatives in the
19!           finite element vertical discretisation.
20LOGICAL :: LVERTFE
21INTEGER(KIND=JPIM) :: NVSCH
22REAL(KIND=JPRB),ALLOCATABLE :: RINTE(:,:)
23REAL(KIND=JPRB),ALLOCATABLE :: RDERI(:,:)
24
25! -----------------------------------------------------------------------------
26
27! * Variables related to use of spline cubic vertical interpolations
28!   in the semi-Lagrangian scheme:
29! LVSPLIP            : .T. if vertical spline cubic SL interpolations for O3.
30! RVSPTRI,RVSPC      : are used to re-profile the field to be interpolated
31!                      in routine VSPLTRANS.
32! RFAA,RFBB,RFCC,RFDD: are used in the computation of the vertical weights.
33! VRDETAR            : ratio (eta(lbar)-eta(lbar-1))/(eta(lbar-1)-eta(lbar-2)),
34!                      is used in the interpolation routine LAITVSPCQM to
35!                      ensure monotonicity and conservation properties.
36LOGICAL :: LVSPLIP
37LOGICAL :: LSVTSM                ! Stratospheric vertical trajectory smoothed
38REAL(KIND=JPRB),ALLOCATABLE :: RVSPTRI(:,:)
39REAL(KIND=JPRB),ALLOCATABLE :: RVSPC(:)
40REAL(KIND=JPRB),ALLOCATABLE :: RFAA(:,:)
41REAL(KIND=JPRB),ALLOCATABLE :: RFBB(:,:)
42REAL(KIND=JPRB),ALLOCATABLE :: RFCC(:,:)
43REAL(KIND=JPRB),ALLOCATABLE :: RFDD(:,:)
44REAL(KIND=JPRB),ALLOCATABLE :: VRDETAR(:)
45
46! -----------------------------------------------------------------------------
47
48!$OMP THREADPRIVATE(lsvtsm,lvertfe,lvsplip,nvsch)
49!$OMP THREADPRIVATE(rderi,rfaa,rfbb,rfcc,rfdd,rinte,rvspc,rvsptri,vrdetar)
50END MODULE YOMCVER
Note: See TracBrowser for help on using the repository browser.