Changeset 3282
- Timestamp:
- Mar 16, 2018, 7:28:53 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/IPSLCM6.0.15/libf/phylmd/newmicro.F90
r3248 r3282 166 166 REAL,SAVE :: cdnc_min_m3 167 167 !$OMP THREADPRIVATE(cdnc_min,cdnc_min_m3) 168 REAL,SAVE :: cdnc_max=-1. 169 REAL,SAVE :: cdnc_max_m3 170 !$OMP THREADPRIVATE(cdnc_max,cdnc_max_m3) 168 171 169 172 ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! … … 183 186 cdnc_min_m3=cdnc_min*1E6 184 187 IF (cdnc_min_m3<0.) cdnc_min_m3=20.E6 ! astuce pour retrocompatibilite 188 write(lunout,*)'cdnc_min=', cdnc_min_m3/1.E6 189 call getin_p('cdnc_max',cdnc_max) 190 cdnc_max_m3=cdnc_max*1E6 191 IF (cdnc_max_m3<0.) cdnc_max_m3=1000.E6 ! astuce pour retrocompatibilite 192 write(lunout,*)'cdnc_max=', cdnc_max_m3/1.E6 185 193 ENDIF 186 194 … … 251 259 cdnc(i, k) = 10.**(bl95_b0+bl95_b1*log(max(mass_solu_aero(i,k), & 252 260 1.E-4))/log(10.))*1.E6 !-m-3 253 cdnc(i, k) = min( 1000.E6, max(cdnc_min_m3,cdnc(i,k)))261 cdnc(i, k) = min(cdnc_max_m3, max(cdnc_min_m3,cdnc(i,k))) 254 262 255 263 ! --pre-industrial case 256 264 cdnc_pi(i, k) = 10.**(bl95_b0+bl95_b1*log(max(mass_solu_aero_pi(i,k), & 257 265 1.E-4))/log(10.))*1.E6 !-m-3 258 cdnc_pi(i, k) = min( 1000.E6, max(cdnc_min_m3,cdnc_pi(i,k)))266 cdnc_pi(i, k) = min(cdnc_max_m3, max(cdnc_min_m3,cdnc_pi(i,k))) 259 267 260 268 ! --present-day case
Note: See TracChangeset
for help on using the changeset viewer.