[3331] | 1 | MODULE YOMCAPE |
---|
| 2 | |
---|
| 3 | USE PARKIND1 ,ONLY : JPIM ,JPRB |
---|
| 4 | |
---|
| 5 | IMPLICIT NONE |
---|
| 6 | |
---|
| 7 | SAVE |
---|
| 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 | |
---|
| 39 | INTEGER(KIND=JPIM) :: NCAPEITER |
---|
| 40 | INTEGER(KIND=JPIM) :: NETAPES |
---|
| 41 | |
---|
| 42 | REAL(KIND=JPRB) :: GCAPERET |
---|
| 43 | REAL(KIND=JPRB) :: GCAPEPSD |
---|
| 44 | |
---|
| 45 | ! ------------------------------------------------------------------ |
---|
| 46 | !$OMP THREADPRIVATE(gcapepsd,gcaperet,ncapeiter,netapes) |
---|
| 47 | END MODULE YOMCAPE |
---|