Changeset 1356 for trunk/LMDZ.TITAN/libf/phytitan/cooling.F
- Timestamp:
- Oct 8, 2014, 9:26:28 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.TITAN/libf/phytitan/cooling.F
r888 r1356 1 SUBROUTINE COOLING(NG,NL,PRESS,TEMP,Z,Q0, lwnet,pfluxi,icld)1 SUBROUTINE COOLING(NG,NL,PRESS,TEMP,Z,Q0,zlwup,zlwdn,pfluxi,icld) 2 2 3 3 c======================================================================= … … 36 36 c 37 37 c q0(nl-1) radiative cooling in K/sec 38 c lwnet(nl) net fluxes, (+) upward 38 c zlwup(nl) up fluxes, (+) upward 39 c zlwdn(nl) down fluxes, (+) downward 39 40 c pfluxi IR descendant a la surface (+ vers le bas) 40 41 c … … 73 74 REAL PRESS(NG,NL),TEMP(NG,NL) 74 75 REAL Z(NG,NL),Q0(NG,NL-1) 75 REAL lwnet(NG,NL),UBARI276 REAL zlwup(NG,NL),zlwdn(NG,NL),UBARI2 76 77 real pfluxi(NG) 77 78 … … 147 148 UBARI2=UBARI 148 149 149 C ZERO THE NETFLUXES150 C ZERO THE FLUXES 150 151 Q0 = 0.0 151 lwnet = 0.0 152 zlwup = 0.0 153 zlwdn = 0.0 152 154 153 155 c----------------------------------------------------------------------- … … 275 277 3520 CONTINUE 276 278 277 c compute the net IR flux, (+) upward:279 c compute the up (+ upward) and down (+ downward) IR fluxes: 278 280 c 279 281 DO J=1,NL 280 282 DO ig=1,NG 281 lwnet(ig,J)= lwnet(ig,J)+ DWNI(K)*(FUPI(ig,J)-FDI(ig,J)) 283 zlwup(ig,J)= zlwup(ig,J)+ DWNI(K)*FUPI(ig,J) 284 zlwdn(ig,J)= zlwdn(ig,J)+ DWNI(K)*FDI(ig,J) 282 285 ENDDO 283 286 ENDDO … … 312 315 DO 3550 ig=1,NG 313 316 pfluxi(ig) = 1.e-3*pfluxi(ig) 314 lwnet(ig,:) = 1.e-3*lwnet(ig,:) 317 zlwup(ig,:) = 1.e-3*zlwup(ig,:) 318 zlwdn(ig,:) = 1.e-3*zlwdn(ig,:) 315 319 3550 CONTINUE 316 320
Note: See TracChangeset
for help on using the changeset viewer.