- Timestamp:
- Aug 28, 2018, 5:35:44 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phystd/gfluxv.F
r1988 r1991 45 45 !! PARAMETER (NLP=101) ! MUST BE LARGER THAN NLEVEL 46 46 47 REAL*8 EM, EP 47 REAL*8 EM, EP, EXPTRM 48 48 REAL*8 W0(L_NLAYRAD), COSBAR(L_NLAYRAD), DTAU(L_NLAYRAD) 49 49 REAL*8 TAU(L_NLEVRAD), WDEL(L_NLAYRAD), CDEL(L_NLAYRAD) … … 54 54 REAL*8 G3(L_NLAYRAD), GAMA(L_NLAYRAD),CP(L_NLAYRAD),CM(L_NLAYRAD) 55 55 REAL*8 CPM1(L_NLAYRAD),CMM1(L_NLAYRAD), E1(L_NLAYRAD) 56 REAL*8 E2(L_NLAYRAD),E3(L_NLAYRAD),E4(L_NLAYRAD) ,EXPTRM(L_NLAYRAD)56 REAL*8 E2(L_NLAYRAD),E3(L_NLAYRAD),E4(L_NLAYRAD) 57 57 REAL*8 FLUXUP, FLUXDN 58 58 REAL*8 FACTOR, TAUCUMIN(L_LEVELS), TAUCUM(L_LEVELS) … … 184 184 185 185 DO L=1,L_NLAYRAD 186 EXPTRM (L)= MIN(TAUMAX,LAMDA(L)*DTAU(L)) ! CLIPPED EXPONENTIAL187 EP = EXP(EXPTRM (L))186 EXPTRM = MIN(TAUMAX,LAMDA(L)*DTAU(L)) ! CLIPPED EXPONENTIAL 187 EP = EXP(EXPTRM) 188 188 189 189 EM = 1.0/EP … … 200 200 201 201 DO L=1,L_NLAYRAD-1 202 EXPTRM (L)= MIN(TAUMAX,LAMDA(L)*(TAUCUM(2*L+1)-TAUCUM(2*L)))203 204 EP = EXP(EXPTRM (L))202 EXPTRM = MIN(TAUMAX,LAMDA(L)*(TAUCUM(2*L+1)-TAUCUM(2*L))) 203 204 EP = EXP(EXPTRM) 205 205 206 206 EM = 1.0/EP … … 243 243 ! EM = 1.0 244 244 C JL18 correction to account for the fact that the radiative top is not at zero optical depth. 245 EXPTRM (L)= MIN(TAUMAX,LAMDA(L)*(TAUCUM(2)))246 EP = EXP(EXPTRM (L))245 EXPTRM = MIN(TAUMAX,LAMDA(L)*(TAUCUM(2))) 246 EP = EXP(EXPTRM) 247 247 EM = 1.0/EP 248 248 G4 = 1.0-G3(1) … … 286 286 287 287 L = L_NLAYRAD 288 EXPTRM (L)= MIN(TAUMAX,LAMDA(L)*(TAUCUM(L_LEVELS)-288 EXPTRM = MIN(TAUMAX,LAMDA(L)*(TAUCUM(L_LEVELS)- 289 289 * TAUCUM(L_LEVELS-1))) 290 290 291 EP = EXP(EXPTRM (L))291 EP = EXP(EXPTRM) 292 292 EM = 1.0/EP 293 293 G4 = 1.0-G3(L)
Note: See TracChangeset
for help on using the changeset viewer.