Changeset 1299 for LMDZ4/branches/LMDZ4V5.0-dev/libf/phylmd/calltherm.F90
- Timestamp:
- Jan 20, 2010, 3:27:21 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/branches/LMDZ4V5.0-dev/libf/phylmd/calltherm.F90
r1295 r1299 1 1 ! 2 ! $ Header$2 ! $Id$ 3 3 ! 4 4 subroutine calltherm(dtime & … … 83 83 ! save zentr_therm,zfm_therm 84 84 85 character (len=20) :: modname='calltherm' 86 character (len=80) :: abort_message 87 85 88 integer i,k 86 89 logical, save :: first=.true. … … 137 140 if(nbptspb.GT.0) print*,'Number of points with q_seri(i,k)<=0 ',nbptspb 138 141 139 zdt=dtime/ float(nsplit_thermals)142 zdt=dtime/REAL(nsplit_thermals) 140 143 do isplit=1,nsplit_thermals 141 144 … … 173 176 & ,tau_thermals,3) 174 177 else if (iflag_thermals.eq.11) then 175 stop 'cas non prevu dans calltherm' 178 abort_message = 'cas non prevu dans calltherm' 179 CALL abort_gcm (modname,abort_message,1) 180 176 181 ! CALL thermcell_pluie(klon,klev,zdt & 177 182 ! & ,pplay,paprs,pphi,zlev & … … 210 215 if (prt_level.gt.10) write(lunout,*)'Apres thermcell_main OK' 211 216 else 212 STOP'Cas des thermiques non prevu' 217 abort_message = 'Cas des thermiques non prevu' 218 CALL abort_gcm (modname,abort_message,1) 213 219 endif 214 220 … … 218 224 DO i=1,klon 219 225 logexpr1(i)=flag_bidouille_stratocu.or.weak_inversion(i).gt.0.5 220 IF(logexpr1(i)) fact(i)=1./ float(nsplit_thermals)226 IF(logexpr1(i)) fact(i)=1./REAL(nsplit_thermals) 221 227 ENDDO 222 228 … … 255 261 if(prt_level.GE.10) print*,'calltherm i Alp_bl Alp Ale_bl Ale',i,Alp_bl(i),Alp(i),Ale_bl(i),Ale(i) 256 262 fm_therm(i,klev+1)=0. 257 Ale_bl(i)=Ale_bl(i)+Ale(i)/ float(nsplit_thermals)263 Ale_bl(i)=Ale_bl(i)+Ale(i)/REAL(nsplit_thermals) 258 264 ! write(22,*)'ALE CALLTHERM',Ale_bl(i),Ale(i) 259 Alp_bl(i)=Alp_bl(i)+Alp(i)/ float(nsplit_thermals)265 Alp_bl(i)=Alp_bl(i)+Alp(i)/REAL(nsplit_thermals) 260 266 ! write(23,*)'ALP CALLTHERM',Alp_bl(i),Alp(i) 261 267 ENDDO … … 276 282 ! & 'fm=',zfm_therm(i,k),'entr=',entr_therm(i,k) 277 283 endif 278 ! stop279 284 ENDDO 280 285 ENDDO
Note: See TracChangeset
for help on using the changeset viewer.