Changeset 2720 for LMDZ5/branches/testing/libf/phylmd/fisrtilp.F90
- Timestamp:
- Nov 30, 2016, 1:28:41 PM (8 years ago)
- Location:
- LMDZ5/branches/testing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/testing
- Property svn:mergeinfo changed
/LMDZ5/trunk merged: 2665-2668,2670-2674,2677-2681,2683-2684,2686,2690-2719
- Property svn:mergeinfo changed
-
LMDZ5/branches/testing/libf/phylmd/fisrtilp.F90
r2687 r2720 15 15 USE icefrac_lsc_mod ! compute ice fraction (JBM 3/14) 16 16 USE print_control_mod, ONLY: prt_level, lunout 17 USE cloudth_mod 18 USE ioipsl_getin_p_mod, ONLY : getin_p 17 19 IMPLICIT none 18 20 !====================================================================== … … 145 147 !$OMP THREADPRIVATE(appel1er) 146 148 ! 149 ! iflag_oldbug_fisrtilp=0 enleve le BUG par JYG : tglace_min -> tglace_max 150 ! iflag_oldbug_fisrtilp=1 ajoute le BUG 151 INTEGER,SAVE :: iflag_oldbug_fisrtilp=0 !=0 sans bug 152 !$OMP THREADPRIVATE(iflag_oldbug_fisrtilp) 147 153 !--------------------------------------------------------------- 148 154 ! … … 188 194 if (prt_level>9)write(lunout,*)'NUAGES4 A. JAM' 189 195 IF (appel1er) THEN 196 CALL getin_p('iflag_oldbug_fisrtilp',iflag_oldbug_fisrtilp) 197 write(lunout,*)' iflag_oldbug_fisrtilp =',iflag_oldbug_fisrtilp 190 198 ! 191 199 WRITE(lunout,*) 'fisrtilp, ninter:', ninter … … 574 582 if (iflag_cld_th>=5) then 575 583 576 call cloudth(klon,klev,k,ztv, & 584 if (iflag_cloudth_vert<=2) then 585 call cloudth(klon,klev,k,ztv, & 577 586 zq,zqta,fraca, & 578 587 qcloud,ctot,zpspsk,paprs,ztla,zthl, & 579 588 ratqs,zqs,t) 580 589 elseif (iflag_cloudth_vert==3) then 590 call cloudth_v3(klon,klev,k,ztv, & 591 zq,zqta,fraca, & 592 qcloud,ctot,zpspsk,paprs,ztla,zthl, & 593 ratqs,zqs,t) 594 endif 581 595 do i=1,klon 582 596 rneb(i,k)=ctot(i,k) … … 624 638 zdelta = MAX(0.,SIGN(1.,t_glace_min_old-Tbef(i))) 625 639 else if (iflag_t_glace.ge.1) then 626 zdelta = MAX(0.,SIGN(1.,t_glace_max-Tbef(i))) 627 ! BUG corrige par JYG zdelta = MAX(0.,SIGN(1.,t_glace_min-Tbef(i))) 640 if (iflag_oldbug_fisrtilp.EQ.0) then 641 zdelta = MAX(0.,SIGN(1.,t_glace_max-Tbef(i))) 642 else 643 !avec bug : zdelta = MAX(0.,SIGN(1.,t_glace_min-Tbef(i))) 644 zdelta = MAX(0.,SIGN(1.,t_glace_min-Tbef(i))) 645 endif 628 646 endif 629 647 endif
Note: See TracChangeset
for help on using the changeset viewer.