Changeset 99 for LMDZ.3.3/branches/rel-LF/libf/dyn3d
- Timestamp:
- Jul 5, 2000, 4:59:27 PM (24 years ago)
- Location:
- LMDZ.3.3/branches/rel-LF/libf/dyn3d
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ.3.3/branches/rel-LF/libf/dyn3d/create_limit.F
r2 r99 13 13 c Modifie par L. Fairhead (fairhead@lmd.jussieu.fr) septembre 1999 14 14 c pour lecture netcdf dans LMDZ.3.3 15 c modifie par P. Braconnot pour utiliser la version sous-surfaces 15 16 c------------------------------------------------------------- 16 17 c … … 35 36 REAL phy_rug(klon,360) 36 37 REAL phy_ice(klon,360) 38 CPB 39 REAL phy_icet(klon,360) 40 REAL phy_oce(klon,360) 41 REAL verif 37 42 c 38 43 REAL masque(iip1,jjp1) 39 44 REAL mask(iim,jjp1) 40 45 CPB 46 C newlmt indique l'utilisation de la sous-maille fractionnelle 47 C tandis que l'ancien codage utilise l'indicateur du sol (0,1,2,3) 48 LOGICAL newlmt, fracterre 49 PARAMETER(newlmt=.TRUE.) 50 PARAMETER(fracterre = .TRUE.) 51 CPB 41 52 C Declarations pour le champ de depart 42 53 INTEGER imdep, jmdep,lmdep … … 52 63 REAL champ_msk(ibid_msk*jbid_msk) 53 64 REAL dlon_msk(ibid_msk), dlat_msk(jbid_msk) 54 65 REAL*4 zbidon(ibid_msk*jbid_msk) 55 66 C Declarations pour le champ interpole 2D 56 67 REAL champint(iim,jjp1) … … 75 86 INTEGER id_tim 76 87 INTEGER id_NAT, id_SST, id_BILS, id_RUG, id_ALB 88 CPB 89 INTEGER id_FOCE, id_FSIC, id_FTER, id_FLIC 77 90 78 91 INTEGER i, j, k, l … … 100 113 cpp = 1004.70885 101 114 dtvr = daysec/FLOAT(day_step) 115 102 116 c 103 117 ccc CALL iniconst ( non indispensable ) … … 168 182 . iim, jjp1, rlonv, rlatu, champint) 169 183 CALL gr_int_dyn(champint, masque, iim, jjp1) 170 DO i = 1, iim 171 masque(i,1) = FLOAT(NINT(masque(i,1))) 172 masque(i,jjp1) = FLOAT(NINT(masque(i,jjp1))) 173 ENDDO 184 IF ( fracterre ) THEN 185 DO i = 1, iim 186 masque(i,1) = masque(i,1) 187 masque(i,jjp1) = masque(i,jjp1) 188 END DO 189 ELSE 190 DO i = 1, iim 191 masque(i,1) = FLOAT(NINT(masque(i,1))) 192 masque(i,jjp1) = FLOAT(NINT(masque(i,jjp1))) 193 END DO 194 ENDIF 174 195 DO i = 1, iim 175 196 DO j = 1, jjp1 … … 432 453 ENDDO 433 454 c 455 WRITE(*,*) 'phy_nat' 456 WRITE(*,'(72f4.1)') phy_nat0(1:klon) 457 c 434 458 DO k = 1, 360 435 CALL gr_dyn_fi(1, iip1, jjp1, klon, 436 . champan(1,1,k), phy_ice(1,k)) 437 DO i = 1, klon 438 phy_nat(i,k) = phy_nat0(i) 439 IF ( (phy_ice(i,k) - 0.5).GE.1.e-5 ) THEN 440 IF (NINT(phy_nat0(i)).EQ.0) THEN 441 phy_nat(i,k) = 3.0 442 ELSE 443 phy_nat(i,k) = 2.0 444 ENDIF 445 ENDIF 446 ENDDO 459 CALL gr_dyn_fi(1, iip1, jjp1, klon, 460 . champan(1,1,k), phy_ice(1,k)) 461 IF ( newlmt) THEN 462 463 CPB en attendant de mettre fraction de terre 464 c 465 WHERE(phy_ice(1:klon, k) .GT. 1.) phy_ice(1 : klon, k) = 1. 466 WHERE(phy_ice(1:klon, k) .LT. 0.) phy_ice(1 : klon, k) = 0. 467 WRITE(*,*) 'phy_ice : ', k 468 WRITE(*,'(72f4.1)') phy_ice(1 : klon, k) 469 c 470 IF (fracterre ) THEN 471 WRITE(*,*) 'passe dans cas fracterre' 472 DO i = 1, klon 473 phy_nat(i,k) = phy_nat0(i) 474 IF (phy_nat0(i) .GE. 0.5 ) THEN 475 IF(phy_ice(i,k) .GE. 1.e-5) THEN 476 IF ( phy_ice(i,k) .LE. phy_nat(i,k)) THEN 477 phy_oce(i,k) = 1. - phy_nat(i,k) 478 phy_icet(i,k) = phy_ice(i,k) 479 phy_ice(i,k) = 0. 480 phy_nat(i,k)= phy_nat(i,k)- phy_icet(i,k) 481 ELSE 482 phy_oce(i,k) = 1. - phy_ice(i,k) 483 phy_icet(i,k) = phy_nat(i,k) 484 phy_nat(i,k) = 0. 485 phy_ice(i,k) = phy_ice(i,k) 486 $ - phy_icet(i,k) 487 ENDIF 488 ELSE 489 phy_icet(i,k) = 0. 490 phy_ice(i,k) = 0. 491 phy_oce(i,k) = 1. - phy_nat(i,k) 492 ENDIF 493 ELSE 494 phy_oce(i,k) = 1. - phy_nat(i,k) 495 IF(phy_ice(i,k) .GE. 1.e-5) THEN 496 IF( phy_ice(i,k) .LE. phy_oce(i,k) ) THEN 497 phy_icet(i,k) = 0. 498 phy_oce(i,k) = phy_oce(i,k) - phy_ice(i,k) 499 ELSE 500 phy_icet(i,k)=phy_ice(i,k) - phy_oce(i,k) 501 phy_ice(i,k) = phy_oce(i,k) 502 phy_oce(i,k) = 0. 503 phy_nat(i,k) = phy_nat(i,k)-phy_icet(i,k) 504 ENDIF 505 ELSE 506 phy_icet(i,k) = 0. 507 phy_ice(i,k) = 0. 508 ENDIF 509 ENDIF 510 verif = phy_nat(i,k) + phy_icet(i,k)+ phy_ice(i,k) 511 $ + phy_oce(i,k) 512 IF ( verif .LT. 1. - 1.e-5 .OR. 513 $ verif .GT. 1 + 1.e-5) THEN 514 WRITE(*,*) 'pb sous maille au point : i,k,verif ' 515 $ , i,k,verif 516 ENDIF 517 END DO 518 ELSE 519 DO i = 1, klon 520 phy_nat(i,k) = phy_nat0(i) 521 IF (NINT(phy_nat0(i)).EQ.1 ) THEN 522 IF(phy_ice(i,k) .GE. 1.e-5) THEN 523 phy_icet(i,k) = phy_ice(i,k) 524 phy_ice(i,k) = 0. 525 phy_nat(i,k) = phy_nat(i,k) - phy_icet(i,k) 526 phy_oce(i,k) = 0. 527 ELSE 528 phy_icet(i,k) = 0. 529 phy_ice(i,k) = 0. 530 phy_oce(i,k) = 0. 531 ENDIF 532 ELSE 533 IF(phy_ice(i,k) .GE. 1.e-5) THEN 534 phy_icet(i,k) = 0. 535 phy_nat(i,k) = 0. 536 phy_oce(i,k) = 1. - phy_ice(i,k) 537 ELSE 538 phy_icet(i,k) = 0. 539 phy_ice(i,k) = 0. 540 phy_oce(i,k) = 1. 541 ENDIF 542 ENDIF 543 verif = phy_nat(i,k) + phy_icet(i,k)+ phy_ice(i,k) 544 $ + phy_oce(i,k) 545 IF ( verif .LT. 1. - 1.e-5 .OR. 546 $ verif .GT. 1 + 1.e-5) THEN 547 WRITE(*,*) 'pb sous maille au point : i,k,verif ' 548 $ , i,k,verif 549 ENDIF 550 END DO 551 ENDIF 552 ELSE 553 DO i = 1, klon 554 phy_nat(i,k) = phy_nat0(i) 555 IF ( (phy_ice(i,k) - 0.5).GE.1.e-5 ) THEN 556 IF (NINT(phy_nat0(i)).EQ.0) THEN 557 phy_nat(i,k) = 3.0 558 ELSE 559 phy_nat(i,k) = 2.0 560 ENDIF 561 ENDIF 562 END DO 563 ENDIF 447 564 ENDDO 448 565 c … … 721 838 dims(2) = ntim 722 839 c 723 ccc ierr = NF_DEF_VAR (nid, "TEMPS", NF_DOUBLE, 1,ntim, id_tim)724 840 ierr = NF_DEF_VAR (nid, "TEMPS", NF_FLOAT, 1,ntim, id_tim) 725 841 ierr = NF_PUT_ATT_TEXT (nid, id_tim, "title", 17, 726 842 . "Jour dans l annee") 727 ccc ierr = NF_DEF_VAR (nid, "NAT", NF_DOUBLE, 2,dims, id_NAT) 728 ierr = NF_DEF_VAR (nid, "NAT", NF_FLOAT, 2,dims, id_NAT) 729 ierr = NF_PUT_ATT_TEXT (nid, id_NAT, "title", 23, 843 IF (newlmt) THEN 844 c 845 ierr = NF_DEF_VAR (nid, "FOCE", NF_FLOAT, 2,dims, id_FOCE) 846 ierr = NF_PUT_ATT_TEXT (nid, id_FOCE, "title", 14, 847 . "Fraction ocean") 848 c 849 ierr = NF_DEF_VAR (nid, "FSIC", NF_FLOAT, 2,dims, id_FSIC) 850 ierr = NF_PUT_ATT_TEXT (nid, id_FSIC, "title", 21, 851 . "Fraction glace de mer") 852 c 853 ierr = NF_DEF_VAR (nid, "FTER", NF_FLOAT, 2,dims, id_FTER) 854 ierr = NF_PUT_ATT_TEXT (nid, id_FTER, "title", 14, 855 . "Fraction terre") 856 c 857 ierr = NF_DEF_VAR (nid, "FLIC", NF_FLOAT, 2,dims, id_FLIC) 858 ierr = NF_PUT_ATT_TEXT (nid, id_FLIC, "title", 17, 859 . "Fraction land ice") 860 c 861 ELSE 862 ierr = NF_DEF_VAR (nid, "NAT", NF_FLOAT, 2,dims, id_NAT) 863 ierr = NF_PUT_ATT_TEXT (nid, id_NAT, "title", 23, 730 864 . "Nature du sol (0,1,2,3)") 731 ccc ierr = NF_DEF_VAR (nid, "SST", NF_DOUBLE, 2,dims, id_SST) 865 ENDIF 866 C 732 867 ierr = NF_DEF_VAR (nid, "SST", NF_FLOAT, 2,dims, id_SST) 733 868 ierr = NF_PUT_ATT_TEXT (nid, id_SST, "title", 35, 734 869 . "Temperature superficielle de la mer") 735 ccc ierr = NF_DEF_VAR (nid, "BILS", NF_DOUBLE, 2,dims, id_BILS)736 870 ierr = NF_DEF_VAR (nid, "BILS", NF_FLOAT, 2,dims, id_BILS) 737 871 ierr = NF_PUT_ATT_TEXT (nid, id_BILS, "title", 32, 738 872 . "Reference flux de chaleur au sol") 739 ccc ierr = NF_DEF_VAR (nid, "ALB", NF_DOUBLE, 2,dims, id_ALB)740 873 ierr = NF_DEF_VAR (nid, "ALB", NF_FLOAT, 2,dims, id_ALB) 741 874 ierr = NF_PUT_ATT_TEXT (nid, id_ALB, "title", 19, 742 875 . "Albedo a la surface") 743 ccc ierr = NF_DEF_VAR (nid, "RUG", NF_DOUBLE, 2,dims, id_RUG)744 876 ierr = NF_DEF_VAR (nid, "RUG", NF_FLOAT, 2,dims, id_RUG) 745 877 ierr = NF_PUT_ATT_TEXT (nid, id_RUG, "title", 8, … … 757 889 #ifdef NC_DOUBLE 758 890 ierr = NF_PUT_VAR1_DOUBLE (nid,id_tim,k,DBLE(k)) 759 ierr = NF_PUT_VARA_DOUBLE (nid,id_NAT,debut,epais,phy_nat(1,k)) 891 c 892 IF (newlmt ) THEN 893 ierr = NF_PUT_VARA_DOUBLE (nid,id_FOCE,debut,epais 894 $ ,phy_oce(1,k)) 895 ierr = NF_PUT_VARA_DOUBLE (nid,id_FSIC,debut,epais 896 $ ,phy_ice(1,k)) 897 ierr = NF_PUT_VARA_DOUBLE (nid,id_FTER,debut,epais 898 $ ,phy_nat(1,k)) 899 ierr = NF_PUT_VARA_DOUBLE (nid,id_FLIC,debut,epais 900 $ ,phy_icet(1,k)) 901 ELSE 902 ierr = NF_PUT_VARA_DOUBLE (nid,id_NAT,debut,epais 903 $ ,phy_nat(1,k)) 904 ENDIF 905 c 760 906 ierr = NF_PUT_VARA_DOUBLE (nid,id_SST,debut,epais,phy_sst(1,k)) 761 907 ierr = NF_PUT_VARA_DOUBLE (nid,id_BILS,debut,epais,phy_bil(1,k)) … … 764 910 #else 765 911 ierr = NF_PUT_VAR1_REAL (nid,id_tim,k,FLOAT(k)) 766 ierr = NF_PUT_VARA_REAL (nid,id_NAT,debut,epais,phy_nat(1,k)) 912 IF (newlmt ) THEN 913 ierr = NF_PUT_VARA_REAL (nid,id_FOCE,debut,epais 914 $ ,phy_oce(1,k)) 915 ierr = NF_PUT_VARA_REAL (nid,id_FSIC,debut,epais 916 $ ,phy_ice(1,k)) 917 ierr = NF_PUT_VARA_REAL (nid,id_FTER,debut,epais 918 $ ,phy_nat(1,k)) 919 ierr = NF_PUT_VARA_REAL (nid,id_FLIC,debut,epais 920 $ ,phy_icet(1,k)) 921 ELSE 922 ierr = NF_PUT_VARA_REAL (nid,id_NAT,debut,epais 923 $ ,phy_nat(1,k)) 924 ENDIF 767 925 ierr = NF_PUT_VARA_REAL (nid,id_SST,debut,epais,phy_sst(1,k)) 768 926 ierr = NF_PUT_VARA_REAL (nid,id_BILS,debut,epais,phy_bil(1,k)) … … 777 935 STOP 778 936 END 937 -
LMDZ.3.3/branches/rel-LF/libf/dyn3d/etat0_netcdf.F
r79 r99 216 216 ! 217 217 varname = 'q' 218 q3d(:,:,:,:) = 0.0 218 219 qd(:,:,:) = 0.0 219 220 WRITE(*,*) 'QSAT min,max:',minval(qsat(:,:,:)), -
LMDZ.3.3/branches/rel-LF/libf/dyn3d/gcm.F
r79 r99 126 126 127 127 LOGICAL offline ! Controle du stockage ds "fluxmass" 128 PARAMETER (offline=. true.)128 PARAMETER (offline=.false.) 129 129 130 130 character*80 dynhist_file, dynhistave_file … … 140 140 c ---------------- 141 141 142 abort_message = 'last timestep reached' 142 143 modname = 'gcm' 143 144 descript = 'Run GCM LMDZ' … … 434 435 ENDIF 435 436 c 437 438 c rajout debug 439 c lafin = .true. 440 436 441 CALL calfis( nqmx, lafin ,rdayvrai,rday_ecri,time , 437 442 $ ucov,vcov,teta,q,masse,ps,p,pk,phis,phi , … … 496 501 497 502 END IF 503 504 c ajout debug 505 c IF( lafin ) then 506 c abort_message = 'Simulation finished' 507 c call abort_gcm(modname,abort_message,0) 508 c ENDIF 498 509 499 510 c ******************************************************************** -
LMDZ.3.3/branches/rel-LF/libf/dyn3d/grid_noro.F
r79 r99 77 77 REAL zsig(imar+1,jmar),zgam(imar+1,jmar),zthe(imar+1,jmar) 78 78 REAL zpic(imar+1,jmar),zval(imar+1,jmar) 79 integer mask(imar+1,jmar) 79 c$$$ PB integer mask(imar+1,jmar) 80 real mask(imar+1,jmar) 80 81 real num_tot(2200,1100),num_lan(2200,1100) 81 82 c … … 257 258 IF (weight(ii,jj) .NE. 0.0) THEN 258 259 c Mask 259 if(num_lan(ii,jj)/num_tot(ii,jj).ge.0.5)then 260 mask(ii,jj)=1 261 else 262 mask(ii,jj)=0 263 endif 260 c$$$ if(num_lan(ii,jj)/num_tot(ii,jj).ge.0.5)then 261 c$$$ mask(ii,jj)=1 262 c$$$ else 263 c$$$ mask(ii,jj)=0 264 c$$$ ENDIF 265 mask(ii,jj) = num_lan(ii,jj)/num_tot(ii,jj) 264 266 c Mean Orography: 265 267 zmea (ii,jj)=zmea (ii,jj)/weight(ii,jj) … … 296 298 CALL MVA9(zval,iim+1,jjm+1) 297 299 CALL MVA9(zxtzx,iim+1,jjm+1) 298 CALL MVA9(zxtzy,iim+1,jjm+1) 299 CALL MVA9(zytzy,iim+1,jjm+1)300 CALL MVA9(zxtzy,iim+1,jjm+1) 301 c$$$ CALL MVA9(zytzy,iim+1,jjm+1) 300 302 301 303 DO ii = 1, imar … … 312 314 if(xq.le.xw) xq=xw 313 315 if(abs(xm).le.xw) xm=xw*sign(1.,xm) 316 c$$$c slope: 317 c$$$ zsig(ii,jj)=sqrt(xq)*mask(ii,jj) 318 c$$$c isotropy: 319 c$$$ zgam(ii,jj)=xp/xq*mask(ii,jj) 320 c$$$c angle theta: 321 c$$$ zthe(ii,jj)=57.29577951*atan2(xm,xl)/2.*mask(ii,jj) 322 c$$$ zphi(ii,jj)=zmea(ii,jj)*mask(ii,jj) 323 c$$$ zmea(ii,jj)=zmea(ii,jj)*mask(ii,jj) 324 c$$$ zpic(ii,jj)=zpic(ii,jj)*mask(ii,jj) 325 c$$$ zval(ii,jj)=zval(ii,jj)*mask(ii,jj) 326 c$$$ zstd(ii,jj)=zstd(ii,jj)*mask(ii,jj) 327 C$$* PB modif pour maque de terre fractionnaire 314 328 c slope: 315 zsig(ii,jj)=sqrt(xq) *mask(ii,jj)329 zsig(ii,jj)=sqrt(xq) 316 330 c isotropy: 317 zgam(ii,jj)=xp/xq *mask(ii,jj)331 zgam(ii,jj)=xp/xq 318 332 c angle theta: 319 zthe(ii,jj)=57.29577951*atan2(xm,xl)/2.*mask(ii,jj) 320 zphi(ii,jj)=zmea(ii,jj)*mask(ii,jj) 321 zmea(ii,jj)=zmea(ii,jj)*mask(ii,jj) 322 zpic(ii,jj)=zpic(ii,jj)*mask(ii,jj) 323 zval(ii,jj)=zval(ii,jj)*mask(ii,jj) 324 zstd(ii,jj)=zstd(ii,jj)*mask(ii,jj) 325 333 zthe(ii,jj)=57.29577951*atan2(xm,xl)/2. 334 c$$$ zphi(ii,jj)=zmea(ii,jj) 335 c$$$ zmea(ii,jj)=zmea(ii,jj) 336 c$$$ zpic(ii,jj)=zpic(ii,jj) 337 c$$$ zval(ii,jj)=zval(ii,jj) 338 c$$$ zstd(ii,jj)=zstd(ii,jj) 326 339 c print 101,ii,jj, 327 340 c * zmea(ii,jj),zstd(ii,jj),zsig(ii,jj),zgam(ii,jj), … … 421 434 PARAMETER (ISMo=300,JSMo=200) 422 435 REAL X(IMAR,JMAR),XF(ISMo,JSMo) 423 real weight(-1:1,-1:1)436 real WEIGHTpb(-1:1,-1:1) 424 437 425 438 if(imar.gt.ismo) stop'surdimensionner ismo dans mva9 (grid_noro)' … … 428 441 SUM=0. 429 442 DO IS=-1,1 430 DO JS=-1,1 431 WEIGHT(IS,JS)=1./FLOAT((1+IS**2)*(1+JS**2)) 432 SUM=SUM+WEIGHT(IS,JS) 433 ENDDO 434 ENDDO 435 443 DO JS=-1,1 444 WEIGHTpb(IS,JS)=1./FLOAT((1+IS**2)*(1+JS**2)) 445 SUM=SUM+WEIGHTpb(IS,JS) 446 ENDDO 447 ENDDO 448 449 WRITE(*,*) 'MVA9 ', IMAR, JMAR 450 WRITE(*,*) 'MVA9 ', WEIGHTpb 451 WRITE(*,*) 'MVA9 SUM ', SUM 436 452 DO IS=-1,1 437 DO JS=-1,1438 WEIGHT(IS,JS)=WEIGHT(IS,JS)/SUM439 ENDDO453 DO JS=-1,1 454 WEIGHTpb(IS,JS)=WEIGHTpb(IS,JS)/SUM 455 ENDDO 440 456 ENDDO 441 457 442 458 DO J=2,JMAR-1 443 DO I=2,IMAR-1444 XF(I,J)=0.445 DO IS=-1,1446 DO JS=-1,1447 XF(I,J)=XF(I,J)+X(I+IS,J+JS)*WEIGHT(IS,JS)448 ENDDO449 ENDDO450 ENDDO459 DO I=2,IMAR-1 460 XF(I,J)=0. 461 DO IS=-1,1 462 DO JS=-1,1 463 XF(I,J)=XF(I,J)+X(I+IS,J+JS)*WEIGHTpb(IS,JS) 464 ENDDO 465 ENDDO 466 ENDDO 451 467 ENDDO 452 468 453 469 DO J=2,JMAR-1 454 455 IS=IMAR-1456 DO JS=-1,1457 XF(1,J)=XF(1,J)+X(IS,J+JS)*WEIGHT(-1,JS)458 ENDDO459 DO IS=0,1460 DO JS=-1,1461 XF(1,J)=XF(1,J)+X(1+IS,J+JS)*WEIGHT(IS,JS)462 ENDDO463 ENDDO464 470 XF(1,J)=0. 471 IS=IMAR-1 472 DO JS=-1,1 473 XF(1,J)=XF(1,J)+X(IS,J+JS)*WEIGHTpb(-1,JS) 474 ENDDO 475 DO IS=0,1 476 DO JS=-1,1 477 XF(1,J)=XF(1,J)+X(1+IS,J+JS)*WEIGHTpb(IS,JS) 478 ENDDO 479 ENDDO 480 XF(IMAR,J)=XF(1,J) 465 481 ENDDO 466 482 467 483 DO I=1,IMAR 468 XF(I,1)=XF(I,2)469 XF(I,JMAR)=XF(I,JMAR-1)484 XF(I,1)=XF(I,2) 485 XF(I,JMAR)=XF(I,JMAR-1) 470 486 ENDDO 471 487 472 488 DO I=1,IMAR 473 DO J=1,JMAR474 X(I,J)=XF(I,J)475 ENDDO489 DO J=1,JMAR 490 X(I,J)=XF(I,J) 491 ENDDO 476 492 ENDDO 477 493 -
LMDZ.3.3/branches/rel-LF/libf/dyn3d/startvar.F
r79 r99 314 314 ! 315 315 CALL grid_noro(iml_rel, jml_rel, lon_rad, lat_rad, relief_hi, 316 . iml-1, jml, lon_in, lat_in, 317 . phis, relief, zstd, zsig, zgam, zthe, zpic, zval, tmp_int) 316 $ iml-1, jml, lon_in, lat_in, 317 ! . phis, relief, zstd, zsig, zgam, zthe, zpic, zval, tmp_int) 318 ! PB masque avec % terre mai 2000 319 $ phis, relief, zstd, zsig, zgam, zthe, zpic, zval, masque) 318 320 phis = phis * 9.81 319 321 ! 320 masque(:,:) = FLOAT(tmp_int(:,:)) 322 !PB supression ligne suivant pour masque avec % terre 323 ! masque(:,:) = FLOAT(tmp_int(:,:)) 321 324 ! 322 325 ! Compute surface roughness … … 392 395 ENDIF 393 396 CALL gr_dyn_fi(1, iml, jml, nbindex, psol_dyn, champ) 397 ! PB ajout pour masque terre mer fractionneiare 398 CASE ('zmasq') 399 IF (.NOT. ALLOCATED(masque) ) THEN 400 CALL start_init_orog ( iml, jml,lon_in, lat_in) 401 ENDIF 402 IF ( SIZE(masque) .NE. SIZE(lon_in)*SIZE(lat_in) ) THEN 403 WRITE(*,*) 404 . 'STARTVAR module has been initialized to the wrong size' 405 STOP 406 ENDIF 407 CALL gr_dyn_fi(1, iml, jml, nbindex, masque, champ) 394 408 CASE ('zmea') 395 409 IF ( .NOT.ALLOCATED(relief)) THEN -
LMDZ.3.3/branches/rel-LF/libf/dyn3d/temps.h
r2 r99 1 c-----------------------------------------------------------------------2 cINCLUDE 'temps.h'1 !----------------------------------------------------------------------- 2 ! INCLUDE 'temps.h' 3 3 4 4 COMMON/temps/itaufin,dt, … … 9 9 REAL dt 10 10 11 c-----------------------------------------------------------------------11 !-----------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.