Changeset 2703 for LMDZ5/trunk/libf/phylmd
- Timestamp:
- Nov 17, 2016, 11:25:51 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/fisrtilp.F90
r2696 r2703 16 16 USE print_control_mod, ONLY: prt_level, lunout 17 17 USE cloudth_mod 18 USE ioipsl_getin_p_mod, ONLY : getin_p 18 19 IMPLICIT none 19 20 !====================================================================== … … 146 147 !$OMP THREADPRIVATE(appel1er) 147 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) 148 153 !--------------------------------------------------------------- 149 154 ! … … 189 194 if (prt_level>9)write(lunout,*)'NUAGES4 A. JAM' 190 195 IF (appel1er) THEN 196 CALL getin_p('iflag_oldbug_fisrtilp',iflag_oldbug_fisrtilp) 197 write(lunout,*)' iflag_oldbug_fisrtilp =',iflag_oldbug_fisrtilp 191 198 ! 192 199 WRITE(lunout,*) 'fisrtilp, ninter:', ninter … … 631 638 zdelta = MAX(0.,SIGN(1.,t_glace_min_old-Tbef(i))) 632 639 else if (iflag_t_glace.ge.1) then 633 zdelta = MAX(0.,SIGN(1.,t_glace_max-Tbef(i))) 634 ! 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 635 646 endif 636 647 endif
Note: See TracChangeset
for help on using the changeset viewer.