Changeset e9e0f06 in flexpart.git for src/readspecies.f90


Ignore:
Timestamp:
Dec 12, 2018, 1:35:46 PM (5 years ago)
Author:
Sabine <sabine.eckhardt@…>
Branches:
master, 10.4.1_pesei, GFS_025, bugfixes+enhancements, dev, release-10, release-10.4.1, scaling-bug
Children:
79996be9
Parents:
db91eb7
Message:

Removed kao and ass_spec and obsolete lines in get_wetscav.f90

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/readspecies.f90

    raa8c34a re9e0f06  
    6767  character(len=16) :: pspecies
    6868  real :: pdecay, pweta_gas, pwetb_gas, preldiff, phenry, pf0, pdensity, pdquer
    69   real :: pdsigma, pdryvel, pweightmolar, pohcconst, pohdconst, pohnconst, pkao
     69  real :: pdsigma, pdryvel, pweightmolar, pohcconst, pohdconst, pohnconst
    7070  real :: pcrain_aero, pcsnow_aero, pccn_aero, pin_aero
    71   integer :: readerror, pspec_ass
     71  integer :: readerror
    7272
    7373! declare namelist
     
    7676       pcrain_aero, pcsnow_aero, pccn_aero, pin_aero, &
    7777       preldiff, phenry, pf0, pdensity, pdquer, &
    78        pdsigma, pdryvel, pweightmolar, pohcconst, pohdconst, pohnconst, pspec_ass, pkao
     78       pdsigma, pdryvel, pweightmolar, pohcconst, pohdconst, pohnconst
    7979
    8080  pspecies="" ! read failure indicator value
     
    9696  pohdconst=-9.9E-09
    9797  pohnconst=2.0
    98   pspec_ass=-9
    99   pkao=-99.99
    10098  pweightmolar=-999.9
    10199
     
    164162    read(unitspecies,'(f8.2)',end=22) ohnconst(pos_spec)
    165163!  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)
    170164
    171165    pspecies=species(pos_spec)
     
    188182    pohdconst=ohdconst(pos_spec)
    189183    pohnconst=ohnconst(pos_spec)
    190     pspec_ass=spec_ass(pos_spec)
    191     pkao=kao(pos_spec)
    192184
    193185  else
     
    212204    ohdconst(pos_spec)=pohdconst
    213205    ohnconst(pos_spec)=pohnconst
    214     spec_ass(pos_spec)=pspec_ass
    215     kao(pos_spec)=pkao
    216 
    217206  endif
    218207
     
    303292  end if
    304293
    305   if (spec_ass(pos_spec).gt.0) then
    306     spec_found=.FALSE.
    307     do j=1,pos_spec-1
    308       if (spec_ass(pos_spec).eq.specnum(j)) then
    309         spec_ass(pos_spec)=j
    310         spec_found=.TRUE.
    311         ASSSPEC=.TRUE.
    312       endif
    313     end do
    314     if (spec_found.eqv..false.) then
    315       goto 997
    316     endif
    317   endif
    318 
    319   if (dsigma(i).eq.1.) dsigma(i)=1.0001   ! avoid floating exception
    320294  if (dsigma(i).eq.0.) dsigma(i)=1.0001   ! avoid floating exception
    321295
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG