source: LMDZ6/trunk/libf/phylmd/rrtm/yomcape.F90 @ 3592

Last change on this file since 3592 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: 1.7 KB
Line 
1MODULE YOMCAPE
2
3USE PARKIND1  ,ONLY : JPIM     ,JPRB
4
5IMPLICIT NONE
6
7SAVE
8
9!*
10!     ------------------------------------------------------------------
11
12!     VARIABLES TO CONTROL CAPE COMPUTATION IN FULLPOS:
13
14!        NCAPEITER : NUMBER OF ITERATIONS IN THE NEWTON LOOPS. Default
15!                    is the same as NBITER in YOMPHY.
16
17!        NETAPES : NUMBER OF INTERMEDIATE-LAYERS USED FOR CALCULATION OF
18!                  VERTICAL ASCENT BETWEEN TWO MODEL PRESSURE LEVELS.
19!                  Default value is 2.
20
21!        GCAPEPSD : DEPTH OF LAYER ABOVE THE GROUND IN WHICH MOST
22!                   UNSTABLE PARCEL IS SEARCHED FOR (UNIT: Pa)
23!                   USED JUST FOR TYPE 2 OF CAPE. Default value is 30000.
24!                   (CAPE Pressure Search Depth)
25
26!        GCAPERET: FRACTION OF THE CONDENSATES WHICH IS RETAINED,
27!                  I.E. WHICH DOES NOT PRECIPITATE.
28!            IF GCAPERET=1. ==> REVERSIBLE MOIST ASCENT.
29!                      IT IS ASSUMED THAT ALL THE PARCEL'S CONDENSED
30!                      WATER IS RETAINED, THUS CLOUD CONDENSATES
31!                      REDUCE THE BUOYANCY.
32!            IF GCAPERET=0. ==> "IRREVERSIBLE" (PSEUDO-ADIABATIC) MOIST ASCENT.
33!                       CLOUD CONDENSATES PRECIPITATE  INSTANTANEOUSLY
34!                       AND THUS DO NOT AFFECT THE BUOYANCY.
35!            GCAPERET CAN BE USED WITH VALUES BETWEEN 0. AND 1..
36!            Default value is 0.
37!-------------------------------------------------
38
39INTEGER(KIND=JPIM) :: NCAPEITER
40INTEGER(KIND=JPIM) :: NETAPES
41
42REAL(KIND=JPRB) :: GCAPERET
43REAL(KIND=JPRB) :: GCAPEPSD
44
45!     ------------------------------------------------------------------
46!$OMP THREADPRIVATE(gcapepsd,gcaperet,ncapeiter,netapes)
47END MODULE YOMCAPE
Note: See TracBrowser for help on using the repository browser.