Changeset 433 for LMDZ.3.3/branches/rel-LF/libf/phylmd/clmain.F
- Timestamp:
- Dec 19, 2002, 5:46:39 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ.3.3/branches/rel-LF/libf/phylmd/clmain.F
r419 r433 119 119 real rain_f(klon), snow_f(klon) 120 120 REAL fder(klon) 121 REAL sollw(klon), solsw(klon), sollwdown(klon) 121 cIM cf. JLD REAL sollw(klon), solsw(klon), sollwdown(klon) 122 REAL sollw(klon,nbsrf), solsw(klon,nbsrf), sollwdown(klon) 122 123 REAL rugos(klon,nbsrf) 123 124 C la nouvelle repartition des surfaces sortie de l'interface … … 407 408 ytaux(j) = flux_u(i,1,nsrf) 408 409 ytauy(j) = flux_v(i,1,nsrf) 409 c$$$ ysolsw(j) = solsw(i) 410 ysolsw(j) = (1 - albe(i,nsrf)) 411 $ /(1 - pctsrf(i,is_ter) * albe(i,is_ter) 412 $ - pctsrf(i, is_lic) *albe(i,is_lic) 413 $ - pctsrf(i, is_oce) *albe(i,is_oce) 414 $ - pctsrf(i, is_sic) *albe(i,is_sic) 415 $ ) * solsw(i) 416 ysollw(j) = sollw(i) 410 c$$$ ysolsw(j) = solsw(i) 411 cIM cf. JLD 412 ysolsw(j) = solsw(i,nsrf) 413 c ysolsw(j) = (1 - albe(i,nsrf)) 414 c $ /(1 - pctsrf(i,is_ter) * albe(i,is_ter) 415 c $ - pctsrf(i, is_lic) *albe(i,is_lic) 416 c $ - pctsrf(i, is_oce) *albe(i,is_oce) 417 c $ - pctsrf(i, is_sic) *albe(i,is_sic) 418 c $ ) * solsw(i) 419 cIM cf. JLD ysollw(j) = sollw(i) 420 ysollw(j) = sollw(i,nsrf) 417 421 ysollwdown(j) = sollwdown(i) 418 422 yrugos(j) = rugos(i,nsrf) … … 421 425 yv1(j) = v1lay(i) 422 426 c$$$ yrads(j) = totalflu(i) 423 yrads(j) = (1 - albe(i,nsrf)) 424 $ /(1 - pctsrf(i,is_ter) * albe(i,is_ter) 425 $ - pctsrf(i, is_lic) *albe(i,is_lic) 426 $ - pctsrf(i, is_oce) *albe(i,is_oce) 427 $ - pctsrf(i, is_sic) *albe(i,is_sic) 428 $ ) * solsw(i) + sollw(i) 427 cIM cf. JLD 428 yrads(j) = ysolsw(j)+ ysollw(j) 429 c yrads(j) = (1 - albe(i,nsrf)) 430 c $ /(1 - pctsrf(i,is_ter) * albe(i,is_ter) 431 c $ - pctsrf(i, is_lic) *albe(i,is_lic) 432 c $ - pctsrf(i, is_oce) *albe(i,is_oce) 433 c $ - pctsrf(i, is_sic) *albe(i,is_sic) 434 cIM cf. JLD $ ) * solsw(i) + sollw(i) 435 c $ ) * solsw(i) + ysollw(j) 429 436 ypaprs(j,klev+1) = paprs(i,klev+1) 430 437 END DO … … 453 460 CALL coefkz(nsrf, knon, ypaprs, ypplay, 454 461 . yts, yrugos, yu, yv, yt, yq, 462 cIM remplace qsurf par yqsol 463 . yqsol, 455 464 . ycoefm, ycoefh) 456 465 CALL coefkz2(nsrf, knon, ypaprs, ypplay,yt, … … 595 604 c 596 605 #undef T2m 606 #define T2m 597 607 #ifdef T2m 598 608 ccc diagnostic t,q a 2m et u, v a 10m … … 1136 1146 . ts, rugos, 1137 1147 . u,v,t,q, 1148 cIM remplace qsurf par yqsol 1149 . qsol, 1138 1150 . pcfm, pcfh) 1139 1151 IMPLICIT none … … 1226 1238 REAL gamt(2:klev) 1227 1239 c essai qsurf 1228 real qsurf(klon) 1240 cIM real qsurf(klon) 1241 real qsol(klon) 1229 1242 c 1230 1243 LOGICAL appel1er … … 1264 1277 ENDDO 1265 1278 1279 cIM remplace qsurf par qsol 1280 IF(nsrf.NE.1) THEN 1266 1281 do i = 1, knon 1267 qsurf(i) = qsatl(ts(i))/paprs(i,1) 1282 cIM qsurf(i) = qsatl(ts(i))/paprs(i,1) 1283 qsol(i) = qsatl(ts(i))/paprs(i,1) 1268 1284 enddo 1285 ENDIF 1269 1286 1270 1287 c … … 1298 1315 c Calculer le frottement au sol (Cdrag) 1299 1316 c 1300 c DO i = 1, knon 1301 DO i = 1, klon 1317 DO i = 1, knon 1302 1318 u1(i) = u(i,1) 1303 1319 v1(i) = v(i,1) … … 1309 1325 CALL clcdrag(klon, knon, nsrf, zxli, 1310 1326 $ u1, v1, t1, q1, z1, 1311 $ ts, qs urf, rugos,1327 $ ts, qsol, rugos, 1312 1328 $ pcfm1, pcfh1) 1329 cIM $ ts, qsurf, rugos, 1313 1330 C 1314 1331 DO i = 1, knon
Note: See TracChangeset
for help on using the changeset viewer.