Changeset 504 for LMDZ.3.3/branches
- Timestamp:
- Mar 24, 2004, 9:32:33 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ.3.3/branches/rel-LF/libf/phylmd/physiq.F
r486 r504 124 124 c PARAMETER (ok_journe=.true.) 125 125 126 integer lev_histday 127 save lev_histday 128 data lev_histday/1/ 126 cIM lev_histday ==> clesphys 127 cIM integer lev_histday 128 cIM save lev_histday 129 cIM data lev_histday/1/ 129 130 c 130 131 LOGICAL ok_mensuel ! sortir le fichier mensuel … … 195 196 #include "raddim.h" 196 197 c 197 REAL swdn0(klon,2), swdn(klon,2), swup0(klon,2), swup(klon,2) 198 cIM 080304 REAL swdn0(klon,2), swdn(klon,2), swup0(klon,2), swup(klon,2) 199 REAL swdn0(klon,klevp1), swdn(klon,klevp1) 200 REAL swup0(klon,klevp1), swup(klon,klevp1) 198 201 SAVE swdn0 , swdn, swup0, swup 199 202 c 203 REAL SWdn200clr(klon), SWdn200(klon) 204 REAL SWup200clr(klon), SWup200(klon) 205 SAVE SWdn200clr, SWdn200, SWup200clr, SWup200 206 c 207 REAL lwdn0(klon,klevp1), lwdn(klon,klevp1) 208 REAL lwup0(klon,klevp1), lwup(klon,klevp1) 209 SAVE lwdn0 , lwdn, lwup0, lwup 210 c 211 REAL LWdn200clr(klon), LWdn200(klon) 212 REAL LWup200clr(klon), LWup200(klon) 213 SAVE LWdn200clr, LWdn200, LWup200clr, LWup200 214 c 215 REAL LWdnTOA(klon), LWdnTOAclr(klon) 216 SAVE LWdnTOA, LWdnTOAclr 217 c 200 218 c vents meridien et zonal a un niveau de pression 201 real u1000(klon), v1000(klon) !vents a 1000 hPa 202 real u925(klon), v925(klon) !vents a 925 hPa 203 real u850(klon),v850(klon) !vents a 850 hPa 204 real u700(klon),v700(klon) 205 real u600(klon),v600(klon) 206 real u500(klon),v500(klon) 207 real u400(klon),v400(klon) 208 real u300(klon),v300(klon) 209 real u250(klon),v250(klon) 210 real u200(klon),v200(klon) 211 real u150(klon),v150(klon) 212 real u100(klon),v100(klon) 213 real u70(klon),v70(klon) 214 real u50(klon),v50(klon) 215 real u30(klon),v30(klon) 216 real u20(klon),v20(klon) 217 real u10(klon),v10(klon) 218 real phi500(klon),w500(klon) 219 c 220 integer nlevSTD 221 PARAMETER(nlevSTD=17) 222 real rlevSTD(nlevSTD) 223 DATA rlevSTD/100000., 92500., 85000., 70000., 224 .60000., 50000., 40000., 30000., 25000., 20000., 225 .15000., 10000., 7000., 5000., 3000., 2000., 1000./ 226 CHARACTER*5 clevSTD(nlevSTD), aa, bb 227 DATA clevSTD/'1000','925 ','850 ','700 ','600 ', 228 .'500 ','400 ','300 ','250 ','200 ','150 ','100 ', 229 .'70 ','50 ','30 ','20 ','10 '/ 230 c 231 real tlevSTD(klon,nlevSTD), qlevSTD(klon,nlevSTD) 232 real rhlevSTD(klon,nlevSTD), philevSTD(klon,nlevSTD) 233 real ulevSTD(klon,nlevSTD), vlevSTD(klon,nlevSTD) 234 c 235 cIM ENSEMBLES BEG 236 c 237 integer nlevENS 238 PARAMETER(nlevENS=4) 239 integer indENS(nlevENS) 240 save indENS 241 real rlevENS(nlevENS) 242 DATA rlevENS/85000., 70000., 50000., 20000./ 243 CHARACTER*3 clev(nlevENS) 244 DATA clev/'850','700','500','200'/ 245 246 real tlev(klon,nlevENS), qlev(klon,nlevENS), rhlev(klon,nlevENS) 247 real ulev(klon,nlevENS), vlev(klon,nlevENS), philev(klon,nlevENS) 248 real wlev(klon,nlevENS) 249 cIM ENSEMBLES END 250 c 219 251 c prw: precipitable water 220 252 real prw(klon) … … 322 354 SAVE nhistoWt 323 355 356 INTEGER linv 324 357 INTEGER pct_ocean(klon,nbregdyn) 325 358 REAL rlonPOS(klon) … … 380 413 logical ok_hf 381 414 real ecrit_hf 382 integer nid_hf 383 save ok_hf, ecrit_hf, nid_hf 415 integer nid_hf, nid_hf3d 416 save ok_hf, ecrit_hf, nid_hf, nid_hf3d 384 417 385 418 c QUESTION : noms de variables ? 386 419 420 #undef histhf 387 421 #define histhf 388 422 #ifdef histhf … … 566 600 REAL snow_fall(klon) ! neige 567 601 save snow_fall, rain_fall 602 cIM 050204 BEG 603 REAL total_rain(klon), nday_rain(klon) 604 save total_rain, nday_rain 605 cIM 050204 END 568 606 REAL evap(klon), devap(klon) ! evaporation et sa derivee 569 607 REAL sens(klon), dsens(klon) ! chaleur sensible et sa derivee … … 571 609 REAL bils(klon) ! bilan de chaleur au sol 572 610 REAL wfbils(klon,nbsrf) ! bilan de chaleur au sol, pour chaque 573 C type de sous-surface et pondere par la fraction611 C ! type de sous-surface et pondere par la fraction 574 612 REAL fder(klon) ! Derive de flux (sensible et latente) 575 613 save fder … … 590 628 SAVE lmt_pas ! frequence de mise a jour 591 629 REAL pctsrf(klon,nbsrf) 630 cIM 631 REAL pctsrf_new(klon,nbsrf) !pourcentage surfaces issus d'ORCHIDEE 632 REAL paire_ter(klon) !surfaces terre 633 cIM 592 634 SAVE pctsrf ! sous-fraction du sol 593 635 REAL albsol(klon) … … 632 674 cIM 633 675 EXTERNAL haut2bas !variables de haut en bas 676 INTEGER lnblnk1 677 EXTERNAL lnblnk1 !enleve les blancs a la fin d'une variable de type 678 !caracter 634 679 c 635 680 c Variables locales … … 664 709 REAL topsw(klon), toplw(klon), solsw(klon), sollw(klon) 665 710 real sollwdown(klon) ! downward LW flux at surface 711 cIM BEG 712 real sollwdownclr(klon) ! downward CS LW flux at surface 713 real toplwdown(klon) ! downward CS LW flux at TOA 714 real toplwdownclr(klon) ! downward CS LW flux at TOA 715 cIM END 666 716 REAL topsw0(klon), toplw0(klon), solsw0(klon), sollw0(klon) 667 717 REAL albpla(klon) 668 cIM cf. JLD669 718 REAL fsollw(klon, nbsrf) ! bilan flux IR pour chaque sous surface 670 719 REAL fsolsw(klon, nbsrf) ! flux solaire absorb. pour chaque sous surface … … 672 721 c sauvegarder les sorties du rayonnement 673 722 SAVE heat,cool,albpla,topsw,toplw,solsw,sollw,sollwdown 723 SAVE sollwdownclr, toplwdown, toplwdownclr 674 724 SAVE topsw0,toplw0,solsw0,sollw0, heat0, cool0 675 cccIM 676 725 c 677 726 INTEGER itaprad 678 727 SAVE itaprad … … 832 881 c 833 882 INTEGER nhori, nvert 834 REAL zsto, zout 883 REAL zsto, zout, zsto1, zsto2 835 884 real zjulian 836 885 save zjulian … … 899 948 IF (debut) THEN 900 949 CALL suphec ! initialiser constantes et parametres phys. 901 ENDIF 902 903 950 c 951 cIM 050204 BEG 952 DO i=1, klon 953 nday_rain(i)=0. 954 ENDDO 955 cIM 050204 END 956 c 904 957 c====================================================================== 958 cIM BEG 959 DO k=1, nlev 960 DO l=1, nlevSTD 961 c 962 bb=clevSTD(l) 963 c 964 IF(l.GE.2) THEN 965 aa=clevSTD(l) 966 bb=aa(1:lnblnk1(aa)) 967 ENDIF 968 c 969 IF(bb.EQ.clev(k)) THEN 970 c print*,'k=',k,'l=',l,'clev=',clev(k) 971 indENS(k)=l 972 c print*,'k=',k,'l=',l,'clev=',clev(k),'indENS=',indENS(k) 973 ENDIF 974 c 975 ENDDO 976 ENDDO 977 c 978 ENDIF !debut 979 cIM END 905 980 xjour = rjourvrai 906 981 c … … 927 1002 itap = 0 928 1003 itaprad = 0 929 c930 1004 CALL phyetat0 ("startphy.nc",dtime,co2_ppm_etat0,solaire_etat0, 931 1005 . rlat,rlon,pctsrf, ftsol,ftsoil,deltat,fqsurf,qsol,fsnow, … … 938 1012 radpas = NINT( 86400./dtime/nbapp_rad) 939 1013 c 940 C on remet le calendrier àzero1014 C on remet le calendrier a zero 941 1015 c 942 1016 IF (raz_date .eq. 1) THEN … … 1053 1127 c 1054 1128 c 1055 c ccIM1129 cIM 1056 1130 capemaxcels = 't_max(X)' 1057 1131 t2mincels = 't_min(X)' … … 1156 1230 ENDIF 1157 1231 C 1232 DO i = 1, klon 1233 ztsol(i) = 0. 1234 ENDDO 1235 DO nsrf = 1, nbsrf 1158 1236 DO i = 1, klon 1159 ztsol(i) = 0.1237 ztsol(i) = ztsol(i) + ftsol(i,nsrf)*pctsrf(i,nsrf) 1160 1238 ENDDO 1161 DO nsrf = 1, nbsrf 1162 DO i = 1, klon 1163 ztsol(i) = ztsol(i) + ftsol(i,nsrf)*pctsrf(i,nsrf) 1164 ENDDO 1165 ENDDO 1239 ENDDO 1166 1240 C 1167 1241 IF (if_ebil.ge.1) THEN … … 1324 1398 fder = dlw 1325 1399 1326 CALL clmain(dtime,itap,date0,pctsrf, 1400 1401 cIM CALL clmain(dtime,itap,date0,pctsrf, 1402 CALL clmain(dtime,itap,date0,pctsrf,pctsrf_new, 1327 1403 e t_seri,q_seri,u_seri,v_seri, 1328 1404 e julien, rmu0, co2_ppm, … … 1339 1415 s fluxt,fluxq,fluxu,fluxv,cdragh,cdragm, 1340 1416 s dsens, devap, 1341 cIM cf JLD s ycoefh,yu1,yv1, t2m, q2m, u10m, v10m)1342 1417 s ycoefh,yu1,yv1, t2m, q2m, u10m, v10m, 1343 1418 s fqcalving,ffonte) … … 1399 1474 zxtsol(i) = 0.0 1400 1475 zxfluxlat(i) = 0.0 1401 c ccIM1476 c 1402 1477 zt2m(i) = 0.0 1403 1478 zq2m(i) = 0.0 … … 1952 2027 ENDDO !nreg 1953 2028 cIM somme de toutes les nhistoW END 1954 c 2029 ENDIF 1955 2030 cIM: initialisation de seed 1956 2031 DO i=1, klon 1957 2032 seed(i)=i+100 1958 2033 ENDDO 1959 ENDIF !debut2034 1960 2035 cIM: pas de debug, debugcol 1961 2036 debug=0 … … 2152 2227 s topsw,toplw,solsw,sollw, 2153 2228 s sollwdown, 2229 cIM s sollwdown, sollwdownclr, 2230 cIM 2231 cIM s toplwdown, toplwdownclr, 2232 cIM 2154 2233 s topsw0,toplw0,solsw0,sollw0, 2234 s lwdn0, lwdn, lwup0, lwup, 2155 2235 s swdn0, swdn, swup0, swup ) 2156 2236 itaprad = 0 … … 2393 2473 c ----------------------------------------------- 2394 2474 c 2395 cIM sorties sur les 17 niveaux de pression du NMC 2396 c 1000 hPa 2397 call plevel(klon,klev,.true. ,pplay,100000.,u_seri,u1000) 2398 call plevel(klon,klev,.false.,pplay,100000.,v_seri,v1000) 2399 c 925 hPa 2400 call plevel(klon,klev,.true. ,pplay,92500.,u_seri,u925) 2401 call plevel(klon,klev,.false.,pplay,92500.,v_seri,v925) 2402 c 850 hPa 2403 call plevel(klon,klev,.true. ,pplay,85000.,u_seri,u850) 2404 call plevel(klon,klev,.false.,pplay,85000.,v_seri,v850) 2405 c 700 hPa 2406 call plevel(klon,klev,.true. ,pplay,70000.,u_seri,u700) 2407 call plevel(klon,klev,.false.,pplay,70000.,v_seri,v700) 2408 c 600 hPa 2409 call plevel(klon,klev,.true. ,pplay,60000.,u_seri,u600) 2410 call plevel(klon,klev,.false.,pplay,60000.,v_seri,v600) 2411 c 500 hPa 2412 call plevel(klon,klev,.true. ,pplay,50000.,u_seri,u500) 2413 call plevel(klon,klev,.false.,pplay,50000.,v_seri,v500) 2414 c 400 hPa 2415 call plevel(klon,klev,.true. ,pplay,40000.,u_seri,u400) 2416 call plevel(klon,klev,.false.,pplay,40000.,v_seri,v400) 2417 c 300 hPa 2418 call plevel(klon,klev,.true. ,pplay,30000.,u_seri,u300) 2419 call plevel(klon,klev,.false.,pplay,30000.,v_seri,v300) 2420 c 250 hPa 2421 call plevel(klon,klev,.true. ,pplay,25000.,u_seri,u250) 2422 call plevel(klon,klev,.false.,pplay,25000.,v_seri,v250) 2423 c 200 hPa 2424 call plevel(klon,klev,.true. ,pplay,20000.,u_seri,u200) 2425 call plevel(klon,klev,.false.,pplay,20000.,v_seri,v200) 2426 c 150 hPa 2427 call plevel(klon,klev,.true. ,pplay,15000.,u_seri,u150) 2428 call plevel(klon,klev,.false.,pplay,15000.,v_seri,v150) 2429 c 100 hPa 2430 call plevel(klon,klev,.true. ,pplay,10000.,u_seri,u100) 2431 call plevel(klon,klev,.false.,pplay,10000.,v_seri,v100) 2432 c 70 hPa 2433 call plevel(klon,klev,.true. ,pplay,7000.,u_seri,u70) 2434 call plevel(klon,klev,.false.,pplay,7000.,v_seri,v70) 2435 c 50 hPa 2436 call plevel(klon,klev,.true. ,pplay,5000.,u_seri,u50) 2437 call plevel(klon,klev,.false.,pplay,5000.,v_seri,v50) 2438 c 30 hPa 2439 call plevel(klon,klev,.true. ,pplay,3000.,u_seri,u30) 2440 call plevel(klon,klev,.false.,pplay,3000.,v_seri,v30) 2441 c 20 hPa 2442 call plevel(klon,klev,.true. ,pplay,2000.,u_seri,u20) 2443 call plevel(klon,klev,.false.,pplay,2000.,v_seri,v20) 2444 c 10 hPa 2445 call plevel(klon,klev,.true. ,pplay,1000.,u_seri,u10) 2446 call plevel(klon,klev,.false.,pplay,1000.,v_seri,v10) 2447 c 2448 call plevel(klon,klev,.true. ,pplay,50000.,zphi,phi500) 2449 call plevel(klon,klev,.true. ,paprs,50000.,omega,w500) 2475 c on moyenne mensuellement les champs 3D et on les interpole sur les niveaux STD 2476 c if(itap.EQ.1.OR.itap.EQ.13.OR.itap.EQ.25.OR.itap.EQ.37) THEN 2477 c if(MOD(itap,12).EQ.1) THEN 2478 cIM 120304 END 2479 DO k=1, nlevSTD 2480 call plevel(klon,klev,.true.,pplay,rlevSTD(k), 2481 . t_seri,tlevSTD(:,k)) 2482 call plevel(klon,klev,.false.,pplay,rlevSTD(k), 2483 . u_seri,ulevSTD(:,k)) 2484 call plevel(klon,klev,.false.,pplay,rlevSTD(k), 2485 . v_seri,vlevSTD(:,k)) 2486 call plevel(klon,klev,.false.,pplay,rlevSTD(k), 2487 . zphi,philevSTD(:,k)) 2488 call plevel(klon,klev,.false.,pplay,rlevSTD(k), 2489 . qx(:,:,ivap),qlevSTD(:,k)) 2490 call plevel(klon,klev,.false.,pplay,rlevSTD(k), 2491 . zx_rh,rhlevSTD(:,k)) 2492 ENDDO !nlevSTD 2493 c ENSEMBLES BEG 2494 DO k=1, nlevENS 2495 cIM 170304 2496 tlev(:,k)=tlevSTD(:,indENS(k)) 2497 ulev(:,k)=ulevSTD(:,indENS(k)) 2498 vlev(:,k)=vlevSTD(:,indENS(k)) 2499 philev(:,k)=philevSTD(:,indENS(k)) 2500 qlev(:,k)=qlevSTD(:,indENS(k)) 2501 rhlev(:,k)=rhlevSTD(:,indENS(k)) 2502 c 2503 call plevel(klon,klevp1,.true.,paprs,rlevENS(k), 2504 . omega,wlev(:,k)) 2505 c 2506 ENDDO !k=1, nlevENS 2507 cIM 170304 2508 c IF(1.EQ.0) THEN 2509 c 2510 c call plevel(klon,klev,.true.,pplay,rlevENS(k), 2511 c . t_seri,tlev(:,k)) 2512 c . t_seri,tlevSTD(:,indENS(k))) 2513 c call plevel(klon,klev,.false.,pplay,rlevENS(k), 2514 c . qx(:,:,ivap),qlev(:,k)) 2515 c . qx(:,:,ivap),qlevSTD(:,indENS(k))) 2516 c call plevel(klon,klev,.false.,pplay,rlevENS(k), 2517 c . zx_rh,rhlev(:,k)) 2518 c . zx_rh,rhlevSTD(:,indENS(k))) 2519 c 2520 c IF(k.EQ.1) THEN 2521 c ulev(:,k)=u850(:) 2522 c vlev(:,k)=v850(:) 2523 c philev(:,k)=phi850(:) 2524 c ulev(:,k)=ulevSTD(:,3) 2525 c vlev(:,k)=vlevSTD(:,3) 2526 c philev(:,k)=philevSTD(:,3) 2527 c ELSEIF(k.EQ.2) THEN 2528 c ulev(:,k)=u500(:) 2529 c vlev(:,k)=v500(:) 2530 c philev(:,k)=phi500(:) 2531 c ulev(:,k)=ulevSTD(:,6) 2532 c vlev(:,k)=vlevSTD(:,6) 2533 c philev(:,k)=philevSTD(:,6) 2534 c ELSEIF(k.EQ.3) THEN 2535 c ulev(:,k)=u200(:) 2536 c vlev(:,k)=v200(:) 2537 c philev(:,k)=phi200(:) 2538 c ulev(:,k)=ulevSTD(:,10) 2539 c vlev(:,k)=vlevSTD(:,10) 2540 c philev(:,k)=philevSTD(:,10) 2541 c ENDIF !k 2542 c 2543 c ENDIF !1.EQ.0 2544 c 2545 c ENDDO !nlevENS 2546 c120304 ENDIF !IF (MOD(itap,ecrit_mth) .EQ. 0) THEN 2547 c endif !(itap.EQ.ecrit_mth) THEN 2548 cIM 100304 BEG 2549 cIM interpolation a chaque pas de temps du SWup(clr) et SWdn(clr) a 200 hPa 2550 call plevel(klon,klevp1,.true.,paprs,20000., 2551 $ swdn0,SWdn200clr) 2552 call plevel(klon,klevp1,.false.,paprs,20000., 2553 $ swdn,SWdn200) 2554 call plevel(klon,klevp1,.false.,paprs,20000., 2555 $ swup0,SWup200clr) 2556 call plevel(klon,klevp1,.false.,paprs,20000., 2557 $ swup,SWup200) 2558 c 2559 call plevel(klon,klevp1,.false.,paprs,20000., 2560 $ lwdn0,LWdn200clr) 2561 call plevel(klon,klevp1,.false.,paprs,20000., 2562 $ lwdn,LWdn200) 2563 call plevel(klon,klevp1,.false.,paprs,20000., 2564 $ lwup0,LWup200clr) 2565 call plevel(klon,klevp1,.false.,paprs,20000., 2566 $ lwup,LWup200) 2567 c 2568 cIM 100304 END 2569 c 2570 c ENSEMBLES END 2571 c 2450 2572 c slp sea level pressure 2451 2573 slp(:) = paprs(:,1)*exp(pphis(:)/(RD*t_seri(:,1))) … … 2467 2589 ENDDO 2468 2590 ENDDO 2591 cIM 050204 BEG 2592 c 2593 IF (MOD(itap-1,lmt_pas) .EQ. 0) THEN 2594 cIM PRINT *,' PHYS cond julien ',julien 2595 c CALL ozonecm( FLOAT(julien), rlat, paprs, wo) 2596 DO i = 1, klon 2597 total_rain(i)=rain_fall(i)+snow_fall(i) 2598 IF(total_rain(i).GT.0.) nday_rain(i)=nday_rain(i)+1. 2599 ENDDO 2600 c 2601 ENDIF 2602 c surface terre 2603 IF (debut) THEN 2604 DO i=1, klon 2605 IF(pctsrf_new(i,is_ter).GT.0.) THEN 2606 paire_ter(i)=paire(i)*pctsrf_new(i,is_ter) 2607 ENDIF 2608 ENDDO 2609 ENDIF 2610 cIM 050204 END 2611 2612 c============================================================= 2613 c 2614 c Convertir les incrementations en tendances 2615 c 2616 DO k = 1, klev 2617 DO i = 1, klon 2618 d_u(i,k) = ( u_seri(i,k) - u(i,k) ) / dtime 2619 d_v(i,k) = ( v_seri(i,k) - v(i,k) ) / dtime 2620 d_t(i,k) = ( t_seri(i,k)-t(i,k) ) / dtime 2621 d_qx(i,k,ivap) = ( q_seri(i,k) - qx(i,k,ivap) ) / dtime 2622 d_qx(i,k,iliq) = ( ql_seri(i,k) - qx(i,k,iliq) ) / dtime 2623 ENDDO 2624 ENDDO 2625 c 2626 IF (nqmax.GE.3) THEN 2627 DO iq = 3, nqmax 2628 DO k = 1, klev 2629 DO i = 1, klon 2630 d_qx(i,k,iq) = ( tr_seri(i,k,iq-2) - qx(i,k,iq) ) / dtime 2631 ENDDO 2632 ENDDO 2633 ENDDO 2634 ENDIF 2635 c 2636 c Sauvegarder les valeurs de t et q a la fin de la physique: 2637 c 2638 DO k = 1, klev 2639 DO i = 1, klon 2640 t_ancien(i,k) = t_seri(i,k) 2641 q_ancien(i,k) = q_seri(i,k) 2642 ENDDO 2643 ENDDO 2644 c 2645 c 22.03.04 BEG 2469 2646 c============================================================= 2470 2647 c Ecriture des sorties … … 2485 2662 #include "write_histmth.h" 2486 2663 2487 #ifdef histmthNMC2488 #include "write_histmthNMC.h"2489 #endif2664 c#ifdef histmthNMC 2665 c#include "write_histmthNMC.h" 2666 c#endif 2490 2667 2491 2668 #include "write_histins.h" 2492 2669 2493 c============================================================= 2494 c 2495 c Convertir les incrementations en tendances 2496 c 2497 DO k = 1, klev 2498 DO i = 1, klon 2499 d_u(i,k) = ( u_seri(i,k) - u(i,k) ) / dtime 2500 d_v(i,k) = ( v_seri(i,k) - v(i,k) ) / dtime 2501 d_t(i,k) = ( t_seri(i,k)-t(i,k) ) / dtime 2502 d_qx(i,k,ivap) = ( q_seri(i,k) - qx(i,k,ivap) ) / dtime 2503 d_qx(i,k,iliq) = ( ql_seri(i,k) - qx(i,k,iliq) ) / dtime 2504 ENDDO 2505 ENDDO 2506 c 2507 IF (nqmax.GE.3) THEN 2508 DO iq = 3, nqmax 2509 DO k = 1, klev 2510 DO i = 1, klon 2511 d_qx(i,k,iq) = ( tr_seri(i,k,iq-2) - qx(i,k,iq) ) / dtime 2512 ENDDO 2513 ENDDO 2514 ENDDO 2515 ENDIF 2516 c 2517 c Sauvegarder les valeurs de t et q a la fin de la physique: 2518 c 2519 DO k = 1, klev 2520 DO i = 1, klon 2521 t_ancien(i,k) = t_seri(i,k) 2522 q_ancien(i,k) = q_seri(i,k) 2523 ENDDO 2524 ENDDO 2670 c 22.03.04 END 2525 2671 c 2526 2672 c====================================================================
Note: See TracChangeset
for help on using the changeset viewer.