Changeset 503 for LMDZ.3.3/branches/rel-LF/libf
- Timestamp:
- Mar 23, 2004, 5:58:18 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ.3.3/branches/rel-LF/libf/phylmd/radlwsw.F
r467 r503 6 6 . topsw,toplw,solsw,sollw, 7 7 . sollwdown, 8 cIM . sollwdown, sollwdownclr, 9 cIM . toplwdown, toplwdownclr, 8 10 . topsw0,toplw0,solsw0,sollw0, 11 cIM BEG 12 . lwdn0, lwdn, lwup0, lwup, 13 cIM END 9 14 . swdn0, swdn, swup0, swup ) 10 15 IMPLICIT none … … 63 68 REAL*8 ZFSUP0(KDLON,KFLEV+1) 64 69 REAL*8 ZFSDN0(KDLON,KFLEV+1) 70 cIM 71 cIM 72 cIM real sollwdownclr(klon) !LWdnSFCclr 73 cIM real toplwdown(klon) !LWdnTOA 74 cIM real toplwdownclr(klon) !LWdnTOAclr 75 REAL*8 ZFLUP(KDLON,KFLEV+1) 76 REAL*8 ZFLDN(KDLON,KFLEV+1) 77 REAL*8 ZFLUP0(KDLON,KFLEV+1) 78 REAL*8 ZFLDN0(KDLON,KFLEV+1) 65 79 c 66 80 REAL*8 zx_alpha1, zx_alpha2 … … 94 108 REAL*8 ztopsw(kdlon), ztoplw(kdlon) 95 109 REAL*8 zsolsw(kdlon), zsollw(kdlon), zalbpla(kdlon) 110 cIM BEG 96 111 REAL*8 zsollwdown(kdlon) 112 cIM REAL*8 zsollwdown(kdlon), zsollwdownclr(kdlon) 113 cIM REAL*8 ztoplwdown(kdlon), ztoplwdownclr(kdlon) 114 cIM END 97 115 REAL*8 ztopsw0(kdlon), ztoplw0(kdlon) 98 116 REAL*8 zsolsw0(kdlon), zsollw0(kdlon) 99 117 REAL*8 zznormcp 100 REAL swdn(klon,2),swdn0(klon,2),swup(klon,2),swup0(klon,2) 101 c 102 c------------------------------------------- 118 cIM 080304 REAL swdn(klon,2),swdn0(klon,2),swup(klon,2),swup0(klon,2) 119 REAL swdn(klon,kflev+1),swdn0(klon,kflev+1) 120 REAL swup(klon,kflev+1),swup0(klon,kflev+1) 121 cIM BEG 122 REAL lwdn(klon,kflev+1),lwdn0(klon,kflev+1) 123 REAL lwup(klon,kflev+1),lwup0(klon,kflev+1) 124 cIM END 125 c--------------------------------------------------------------- 103 126 nb_gr = klon / kdlon 104 127 IF (nb_gr*kdlon .NE. klon) THEN … … 212 235 . zcool, zcool0, 213 236 . ztoplw,zsollw,ztoplw0,zsollw0, 214 . zsollwdown) 237 . zsollwdown, 238 cIM . zsollwdown,zsollwdownclr, 239 cIM . ztoplwdown,ztoplwdownclr) 240 . ZFLUP, ZFLDN, ZFLUP0,ZFLDN0) 215 241 cIM ctes ds clesphys.h CALL SW(PSCT, RCO2, zrmu0, zfract, 216 242 CALL SW(PSCT, zrmu0, zfract, … … 230 256 sollw(iof+i) = zsollw(i) 231 257 sollwdown(iof+i) = zsollwdown(i) 258 cIM 259 cIM sollwdownclr(iof+i) = zsollwdownclr(i) 260 cIM BEG 261 cIM toplwdown(iof+i) = ztoplwdown(i) 262 cIM toplwdownclr(iof+i) = ztoplwdownclr(i) 263 cIM END 264 cIM 110304 BEG 265 DO k = 1, kflev+1 266 lwdn0 ( iof+i,k) = ZFLDN0 ( i,k) 267 lwdn ( iof+i,k) = ZFLDN ( i,k) 268 lwup0 ( iof+i,k) = ZFLUP0 ( i,k) 269 lwup ( iof+i,k) = ZFLUP ( i,k) 270 ENDDO 271 cIM 110304 END 232 272 topsw0(iof+i) = ztopsw0(i) 233 273 toplw0(iof+i) = ztoplw0(i) … … 235 275 sollw0(iof+i) = zsollw0(i) 236 276 albpla(iof+i) = zalbpla(i) 237 swdn0 ( iof+i,1) = ZFSDN0 ( i,1 ) 238 swdn0 ( iof+i,2) = ZFSDN0 ( i,kflev + 1 ) 239 swdn ( iof+i,1) = ZFSDN ( i,1 ) 240 swdn ( iof+i,2) = ZFSDN ( i,kflev + 1 ) 241 swup0 ( iof+i,1) = ZFSUP0 ( i,1 ) 242 swup0 ( iof+i,2) = ZFSUP0 ( i,kflev + 1 ) 243 swup ( iof+i,1) = ZFSUP ( i,1 ) 244 swup ( iof+i,2) = ZFSUP ( i,kflev + 1 ) 277 cIM 080304 BEG 278 DO k = 1, kflev+1 279 swdn0 ( iof+i,k) = ZFSDN0 ( i,k) 280 swdn ( iof+i,k) = ZFSDN ( i,k) 281 swup0 ( iof+i,k) = ZFSUP0 ( i,k) 282 swup ( iof+i,k) = ZFSUP ( i,k) 283 ENDDO !k=1, kflev+1 284 cIM 080304 END 285 c swdn0 ( iof+i,1) = ZFSDN0 ( i,1 ) 286 c swdn0 ( iof+i,2) = ZFSDN0 ( i,kflev + 1 ) 287 c swdn ( iof+i,1) = ZFSDN ( i,1 ) 288 c swdn ( iof+i,2) = ZFSDN ( i,kflev + 1 ) 289 c swup0 ( iof+i,1) = ZFSUP0 ( i,1 ) 290 c swup0 ( iof+i,2) = ZFSUP0 ( i,kflev + 1 ) 291 c swup ( iof+i,1) = ZFSUP ( i,1 ) 292 c swup ( iof+i,2) = ZFSUP ( i,kflev + 1 ) 245 293 ENDDO 246 294 DO k = 1, kflev … … 2508 2556 . PCOLR, PCOLR0, 2509 2557 . PTOPLW,PSOLLW,PTOPLW0,PSOLLW0, 2510 . psollwdown) 2558 . psollwdown, 2559 cIM . psollwdown,psollwdownclr, 2560 cIM . ptoplwdown,ptoplwdownclr) 2561 . plwup, plwdn, plwup0, plwdn0) 2511 2562 IMPLICIT none 2512 2563 #include "dimensions.h" … … 2574 2625 c Rajout LF 2575 2626 real*8 psollwdown(kdlon) ! LONGWAVE downwards flux at surface 2576 C 2627 c Rajout IM 2628 cIM real*8 psollwdownclr(kdlon) ! LONGWAVE CS downwards flux at surface 2629 cIM real*8 ptoplwdown(kdlon) ! LONGWAVE downwards flux at T.O.A. 2630 cIM real*8 ptoplwdownclr(kdlon) ! LONGWAVE CS downwards flux at T.O.A. 2631 cIM 2632 REAL*8 plwup(KDLON,KFLEV+1) ! LW up total sky 2633 REAL*8 plwup0(KDLON,KFLEV+1) ! LW up clear sky 2634 REAL*8 plwdn(KDLON,KFLEV+1) ! LW down total sky 2635 REAL*8 plwdn0(KDLON,KFLEV+1) ! LW down clear sky 2577 2636 C------------------------------------------------------------------------- 2578 2637 REAL*8 ZABCU(KDLON,NUA,3*KFLEV+1) … … 2648 2707 PTOPLW0(i) = ZFLUC(i,1,KFLEV+1) + ZFLUC(i,2,KFLEV+1) 2649 2708 psollwdown(i) = -ZFLUX(i,2,1) 2709 cIM 2710 cIM psollwdownclr(i) = -ZFLUC(i,2,1) 2711 cIM ptoplwdown(i) = ZFLUX(i,2,KFLEV+1) 2712 cIM ptoplwdownclr(i) = ZFLUC(i,2,KFLEV+1) 2713 cIM 2714 cIM attention aux signes !; LWtop >0, LWdn < 0 2715 DO k = 1, KFLEV+1 2716 plwup(i,k) = ZFLUX(i,1,k) 2717 plwup0(i,k) = ZFLUC(i,1,k) 2718 plwdn(i,k) = ZFLUX(i,2,k) 2719 plwdn0(i,k) = ZFLUC(i,2,k) 2720 ENDDO 2650 2721 ENDDO 2651 2722 C ------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.