source: LMDZ5/branches/IPSLCM5A2.1_ISO/libf/phyiso/rrtm/yomcape.F90 @ 5308

Last change on this file since 5308 was 3331, checked in by acozic, 6 years ago

Add modification for isotopes

  • Property svn:executable set to *
File size: 1.7 KB
RevLine 
[3331]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.