Changeset 3280 for LMDZ6/trunk
- Timestamp:
- Mar 16, 2018, 7:01:41 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/newmicro.F90
r3274 r3280 168 168 REAL,SAVE :: cdnc_min_m3 169 169 !$OMP THREADPRIVATE(cdnc_min,cdnc_min_m3) 170 REAL,SAVE :: cdnc_max=-1. 171 REAL,SAVE :: cdnc_max_m3 172 !$OMP THREADPRIVATE(cdnc_max,cdnc_max_m3) 170 173 171 174 ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! … … 186 189 IF (cdnc_min_m3<0.) cdnc_min_m3=20.E6 ! astuce pour retrocompatibilite 187 190 write(lunout,*)'cdnc_min=', cdnc_min_m3/1.E6 191 call getin_p('cdnc_max',cdnc_max) 192 cdnc_max_m3=cdnc_max*1.E6 193 IF (cdnc_max_m3<0.) cdnc_max_m3=1000.E6 ! astuce pour retrocompatibilite 194 write(lunout,*)'cdnc_max=', cdnc_max_m3/1.E6 188 195 ENDIF 189 196 … … 253 260 cdnc_pi(i, k) = 10.**(bl95_b0+bl95_b1*log(max(mass_solu_aero_pi(i,k), & 254 261 1.E-4))/log(10.))*1.E6 !-m-3 255 cdnc_pi(i, k) = min( 1000.E6, max(cdnc_min_m3,cdnc_pi(i,k)))262 cdnc_pi(i, k) = min(cdnc_max, max(cdnc_min_m3,cdnc_pi(i,k))) 256 263 257 264 ENDDO … … 282 289 cdnc(i, k) = 10.**(bl95_b0+bl95_b1*log(max(mass_solu_aero(i,k), & 283 290 1.E-4))/log(10.))*1.E6 !-m-3 284 cdnc(i, k) = min( 1000.E6, max(cdnc_min_m3,cdnc(i,k)))291 cdnc(i, k) = min(cdnc_max, max(cdnc_min_m3,cdnc(i,k))) 285 292 286 293 ENDDO
Note: See TracChangeset
for help on using the changeset viewer.