Changeset e9e0f06 in flexpart.git for src/readspecies.f90
- Timestamp:
- Dec 12, 2018, 1:35:46 PM (5 years ago)
- Branches:
- master, 10.4.1_pesei, GFS_025, bugfixes+enhancements, dev, release-10, release-10.4.1, scaling-bug
- Children:
- 79996be9
- Parents:
- db91eb7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/readspecies.f90
raa8c34a re9e0f06 67 67 character(len=16) :: pspecies 68 68 real :: pdecay, pweta_gas, pwetb_gas, preldiff, phenry, pf0, pdensity, pdquer 69 real :: pdsigma, pdryvel, pweightmolar, pohcconst, pohdconst, pohnconst , pkao69 real :: pdsigma, pdryvel, pweightmolar, pohcconst, pohdconst, pohnconst 70 70 real :: pcrain_aero, pcsnow_aero, pccn_aero, pin_aero 71 integer :: readerror , pspec_ass71 integer :: readerror 72 72 73 73 ! declare namelist … … 76 76 pcrain_aero, pcsnow_aero, pccn_aero, pin_aero, & 77 77 preldiff, phenry, pf0, pdensity, pdquer, & 78 pdsigma, pdryvel, pweightmolar, pohcconst, pohdconst, pohnconst , pspec_ass, pkao78 pdsigma, pdryvel, pweightmolar, pohcconst, pohdconst, pohnconst 79 79 80 80 pspecies="" ! read failure indicator value … … 96 96 pohdconst=-9.9E-09 97 97 pohnconst=2.0 98 pspec_ass=-999 pkao=-99.99100 98 pweightmolar=-999.9 101 99 … … 164 162 read(unitspecies,'(f8.2)',end=22) ohnconst(pos_spec) 165 163 ! write(*,*) ohnconst(pos_spec) 166 read(unitspecies,'(i18)',end=22) spec_ass(pos_spec)167 ! write(*,*) spec_ass(pos_spec)168 read(unitspecies,'(f18.2)',end=22) kao(pos_spec)169 ! write(*,*) kao(pos_spec)170 164 171 165 pspecies=species(pos_spec) … … 188 182 pohdconst=ohdconst(pos_spec) 189 183 pohnconst=ohnconst(pos_spec) 190 pspec_ass=spec_ass(pos_spec)191 pkao=kao(pos_spec)192 184 193 185 else … … 212 204 ohdconst(pos_spec)=pohdconst 213 205 ohnconst(pos_spec)=pohnconst 214 spec_ass(pos_spec)=pspec_ass215 kao(pos_spec)=pkao216 217 206 endif 218 207 … … 303 292 end if 304 293 305 if (spec_ass(pos_spec).gt.0) then306 spec_found=.FALSE.307 do j=1,pos_spec-1308 if (spec_ass(pos_spec).eq.specnum(j)) then309 spec_ass(pos_spec)=j310 spec_found=.TRUE.311 ASSSPEC=.TRUE.312 endif313 end do314 if (spec_found.eqv..false.) then315 goto 997316 endif317 endif318 319 if (dsigma(i).eq.1.) dsigma(i)=1.0001 ! avoid floating exception320 294 if (dsigma(i).eq.0.) dsigma(i)=1.0001 ! avoid floating exception 321 295
Note: See TracChangeset
for help on using the changeset viewer.