Changeset 295 for LMDZ.3.3/branches/rel-LF/libf/phylmd
- Timestamp:
- Nov 26, 2001, 2:47:57 PM (23 years ago)
- Location:
- LMDZ.3.3/branches/rel-LF/libf/phylmd
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ.3.3/branches/rel-LF/libf/phylmd/clmain.F
r293 r295 197 197 LOGICAL first_appel 198 198 SAVE first_appel 199 DATA first_appel/. true./199 DATA first_appel/.false./ 200 200 LOGICAL debugindex 201 201 SAVE debugindex 202 DATA debugindex/. true./202 DATA debugindex/.false./ 203 203 #include "temps.h" 204 204 … … 354 354 ENDDO 355 355 c 356 write(*,*)'CLMAIN, nsrf, knon =',nsrf, knon356 c write(*,*)'CLMAIN, nsrf, knon =',nsrf, knon 357 357 c 358 358 c variables pour avoir une sortie IOIPSL des INDEX … … 434 434 CALL coefkz2(nsrf, knon, ypaprs, ypplay,yt, 435 435 . ycoefm0, ycoefh0) 436 write(*,*)'Cdrag maximal = ',maxval(ycoefh(:,1)),437 . maxval(ycoefh0(:,1))438 436 DO k = 1, klev 439 437 DO i = 1, knon … … 443 441 ENDDO 444 442 445 write(*,*)'Cdrag maximal = ',maxloc(ycoefh(:,1)),446 . maxval(ycoefh(:,1))447 443 c 448 444 c -
LMDZ.3.3/branches/rel-LF/libf/phylmd/interface_surf.F90
r290 r295 188 188 integer, save :: error 189 189 integer :: ii, index 190 logical,save :: check = . true.190 logical,save :: check = .false. 191 191 real, dimension(klon):: cal, beta, dif_grnd, capsol 192 192 !!$PB real, parameter :: calice=1.0/(5.1444e+06*0.15), tau_gl=86400.*5. … … 332 332 call albsno(klon,knon,dtime,agesno(:),alb_neig(:), precip_snow(:)) 333 333 where (snow(1 : knon) .LT. 0.0001) agesno(1 : knon) = 0. 334 zfra(1:knon) = max(0.0,min(1.0,snow /(snow+10.0)))334 zfra(1:knon) = max(0.0,min(1.0,snow(1:knon)/(snow(1:knon)+10.0))) 335 335 alb_new(1 : knon) = alb_neig(1 : knon) *zfra(1:knon) + & 336 336 & alb_new(1 : knon)*(1.0-zfra(1:knon)) … … 519 519 CALL albsno(klon,knon,dtime,agesno(:),alb_neig(:), precip_snow(:)) 520 520 WHERE (snow(1 : knon) .LT. 0.0001) agesno(1 : knon) = 0. 521 zfra(1:knon) = MAX(0.0,MIN(1.0,snow /(snow+10.0)))521 zfra(1:knon) = MAX(0.0,MIN(1.0,snow(1:knon)/(snow(1:knon)+10.0))) 522 522 alb_new(1 : knon) = alb_neig(1 : knon) *zfra(1:knon) + & 523 523 & 0.6 * (1.0-zfra(1:knon)) … … 589 589 CALL albsno(klon,knon,dtime,agesno(:),alb_neig(:), precip_snow(:)) 590 590 WHERE (snow(1 : knon) .LT. 0.0001) agesno(1 : knon) = 0. 591 zfra(1:knon) = MAX(0.0,MIN(1.0,snow /(snow+10.0)))591 zfra(1:knon) = MAX(0.0,MIN(1.0,snow(1:knon)/(snow(1:knon)+10.0))) 592 592 alb_new(1 : knon) = alb_neig(1 : knon)*zfra(1:knon) + & 593 593 & 0.6 * (1.0-zfra(1:knon)) … … 744 744 character (len = 20) :: modname = 'interfsol' 745 745 character (len = 80) :: abort_message 746 logical,save :: check = . TRUE.746 logical,save :: check = .FALSE. 747 747 real, dimension(klon) :: cal, beta, dif_grnd, capsol 748 748 ! type de couplage dans sechiba … … 1045 1045 cdrag(1:knon) = tq_cdrag(1:knon) 1046 1046 1047 !where(cdrag > 0.01)1048 !cdrag = 0.011049 !endwhere1047 where(cdrag > 0.01) 1048 cdrag = 0.01 1049 endwhere 1050 1050 ! write(*,*)'Cdrag = ',minval(cdrag),maxval(cdrag) 1051 1051 … … 1186 1186 character (len = 20) :: modname = 'interfoce_cpl' 1187 1187 character (len = 80) :: abort_message 1188 logical,save :: check = . true.1188 logical,save :: check = .FALSE. 1189 1189 ! variables pour moyenner les variables de couplage 1190 1190 real, allocatable, dimension(:,:),save :: cpl_sols, cpl_nsol, cpl_rain … … 1715 1715 character (len = 20),save :: fich ='limit.nc' 1716 1716 logical, save :: newlmt = .TRUE. 1717 logical, save :: check = . true.1717 logical, save :: check = .FALSE. 1718 1718 ! Champs lus dans le fichier de CL 1719 1719 real, allocatable , save, dimension(:) :: sst_lu, rug_lu, nat_lu … … 1959 1959 character (len = 20),save :: fich ='limit.nc' 1960 1960 logical,save :: newlmt = .false. 1961 logical,save :: check = . true.1961 logical,save :: check = .FALSE. 1962 1962 ! Champs lus dans le fichier de CL 1963 1963 real, allocatable , save, dimension(:) :: alb_lu, rug_lu … … 2138 2138 REAL, parameter :: chasno = 3.334E+05/(2.3867E+06*0.15) 2139 2139 ! 2140 logical, save :: check = . true.2140 logical, save :: check = .FALSE. 2141 2141 character (len = 20) :: modname = 'calcul_fluxs' 2142 2142 logical, save :: fonte_neige = .false. … … 2495 2495 REAL, parameter :: chasno = 3.334E+05/(2.3867E+06*0.15) 2496 2496 ! 2497 logical, save :: check = . true.2497 logical, save :: check = .FALSE. 2498 2498 character (len = 20) :: modname = 'fonte_neige' 2499 2499 logical, save :: neige_fond = .false. -
LMDZ.3.3/branches/rel-LF/libf/phylmd/physiq.F
r290 r295 371 371 REAL albsollw(klon) 372 372 SAVE albsollw ! albedo du sol total 373 REAL albsol1(klon) 374 SAVE albsol1 ! albedo du sol total 375 REAL albsollw1(klon) 376 SAVE albsollw1 ! albedo du sol total 373 377 374 378 REAL wo(klon,klev) … … 576 580 c 577 581 INTEGER nhori, nvert 578 REAL zsto, zout, zjulian 582 REAL zsto, zout 583 real zjulian 584 save zjulian 579 585 580 586 character*20 modname … … 728 734 ccc ecrit_ins = NINT(86400./dtime *0.25) ! 4 fois par jour 729 735 ecrit_ins = NINT(86400./dtime/48.) ! a chaque pas de temps 736 ecrit_ins = NINT(86400./dtime/12.) ! toutes les deux heures 730 737 IF (ok_instan) THEN 731 738 PRINT*, 'La frequence de sortie instant. est de ', ecrit_ins … … 750 757 endif 751 758 c 759 c 760 c Gestion calendrier 761 762 CALL ymds2ju(anne_ini, 1, 1, 0.0, zjulian) 763 zjulian = zjulian + day_ini 764 752 765 c 753 766 IF (ok_journe) THEN … … 1807 1820 fder = dlw 1808 1821 1809 CALL clmain(dtime,itap, date0,pctsrf,1822 CALL clmain(dtime,itap,zjulian,pctsrf, 1810 1823 e t_seri,q_seri,u_seri,v_seri, 1811 1824 e julien, rmu0, … … 1971 1984 c$$$ . ,bbase,dtvpdt1,dtvpdq1,dplcldt,dplcldr, 1972 1985 c$$$ . pori_con,plcl_con,dtma_con,dtlcl_con) 1973 if ( 1.eq.1) then ! vectorise1986 if (0.eq.1) then ! vectorise 1974 1987 CALL conemav (dtime,paprs,pplay,t_seri,q_seri, 1975 1988 . u_seri,v_seri,tr_seri,nbtr, … … 2197 2210 . + falblw(i,is_sic) * pctsrf(i,is_sic) 2198 2211 ENDDO 2212 ! if (debut) then 2213 ! albsol1 = albsol 2214 ! albsollw1 = albsollw 2215 ! endif 2216 ! albsol = albsol1 2217 ! albsollw = albsollw1 2199 2218 CALL radlwsw ! nouveau rayonnement (compatible Arpege-IFS) 2200 2219 e (dist, rmu0, fract, co2_ppm, solaire, … … 2331 2350 IF (iflag_con.EQ.4) THEN 2332 2351 c on ajoute les tendances calculees par KE43 2352 c$$$ OM on onhibe la convection sur les traceurs 2333 2353 DO iq=1, nqmax-2 ! Sandrine a -3 ??? 2334 DO k = 1, nlev 2335 DO i = 1, klon 2336 tr_seri(i,k,iq) = tr_seri(i,k,iq) + d_tr(i,k,iq) 2337 ENDDO 2338 ENDDO 2354 c$$$ OM on inhibe la convection sur les traceur 2355 c$$$ DO k = 1, nlev 2356 c$$$ DO i = 1, klon 2357 c$$$ tr_seri(i,k,iq) = tr_seri(i,k,iq) + d_tr(i,k,iq) 2358 c$$$ ENDDO 2359 c$$$ ENDDO 2339 2360 WRITE(iqn,'(i2.2)') iq 2340 2361 CALL minmaxqfi(tr_seri(1,1,iq),0.,1.e33,'couche lim iq='//iqn) -
LMDZ.3.3/branches/rel-LF/libf/phylmd/phytrac.F
r235 r295 208 208 s inirnpb 209 209 data first,couchelimite,convection,lessivage,sorties 210 s /.true.,.true.,.true.,.true.,.true./ 210 c$$$ OM Test KE s /.true.,.true.,.true.,.true.,.true./ 211 s /.true.,.true.,.false.,.true.,.true./ 211 212 c 212 213 c======================================================================
Note: See TracChangeset
for help on using the changeset viewer.