Changes in src/readreleases.f90 [8ee24a5:c8fc724] in flexpart.git


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/readreleases.f90

    r8ee24a5 rc8fc724  
    218218  rewind(unitreleases)
    219219
     220  if (nspec.gt.maxspec) goto 994
     221
    220222  ! allocate arrays of matching size for number of species (namelist output)
    221223  deallocate(mass)
     
    274276  do i=1,maxspec
    275277    DRYDEPSPEC(i)=.false.
     278    WETDEPSPEC(i)=.false.
    276279  end do
    277280
     
    367370         &(dquer(i).gt.0. .and. (crain_aero(i) .gt. 0. .or. csnow_aero(i).gt.0.)))  then
    368371      WETDEP=.true.
     372      WETDEPSPEC(i)=.true.
    369373      if (lroot) then
    370374        write (*,*) '  Below-cloud scavenging: ON'
     
    378382    if (dquer(i).gt.0..and.(ccn_aero(i).gt.0. .or. in_aero(i).gt.0.))  then
    379383      WETDEP=.true.
     384      WETDEPSPEC(i)=.true.
    380385      if (lroot) then
    381386        write (*,*) '  In-cloud scavenging: ON'
     
    397402    endif
    398403
    399   end do
     404  end do ! end loop over species
    400405
    401406  if (WETDEP.or.DRYDEP) DEP=.true.
     
    515520    stop
    516521  endif
    517 
    518   ! If FLEXPART is run for backward deposition force zpoint
    519   !*********************************************************************
    520   if (WETBKDEP) then
    521       zpoint1(numpoint)=0.
    522       zpoint2(numpoint)=20000.
    523       kindz(numpoint)=1
    524   endif
    525   if (DRYBKDEP) then
    526       zpoint1(numpoint)=0.
    527       zpoint2(numpoint)=2.*href
    528       kindz(numpoint)=1
    529   endif
    530 
    531522
    532523  ! Check whether x coordinates of release point are within model domain
     
    588579  endif
    589580
     581
    590582  ! Determine the release rate (particles per second) and total number
    591583  ! of particles released during the simulation
     
    647639  endif
    648640
     641  if (lroot) then
     642    write(*,FMT='(A,ES14.7)') ' Total mass released:', sum(xmass(1:numpoint,1:nspec))
     643  end if
     644
    649645  return
    650646
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG