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


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/readreleases.f90

    rc8fc724 r8ee24a5  
    218218  rewind(unitreleases)
    219219
    220   if (nspec.gt.maxspec) goto 994
    221 
    222220  ! allocate arrays of matching size for number of species (namelist output)
    223221  deallocate(mass)
     
    276274  do i=1,maxspec
    277275    DRYDEPSPEC(i)=.false.
    278     WETDEPSPEC(i)=.false.
    279276  end do
    280277
     
    370367         &(dquer(i).gt.0. .and. (crain_aero(i) .gt. 0. .or. csnow_aero(i).gt.0.)))  then
    371368      WETDEP=.true.
    372       WETDEPSPEC(i)=.true.
    373369      if (lroot) then
    374370        write (*,*) '  Below-cloud scavenging: ON'
     
    382378    if (dquer(i).gt.0..and.(ccn_aero(i).gt.0. .or. in_aero(i).gt.0.))  then
    383379      WETDEP=.true.
    384       WETDEPSPEC(i)=.true.
    385380      if (lroot) then
    386381        write (*,*) '  In-cloud scavenging: ON'
     
    402397    endif
    403398
    404   end do ! end loop over species
     399  end do
    405400
    406401  if (WETDEP.or.DRYDEP) DEP=.true.
     
    520515    stop
    521516  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
    522531
    523532  ! Check whether x coordinates of release point are within model domain
     
    579588  endif
    580589
    581 
    582590  ! Determine the release rate (particles per second) and total number
    583591  ! of particles released during the simulation
     
    639647  endif
    640648
    641   if (lroot) then
    642     write(*,FMT='(A,ES14.7)') ' Total mass released:', sum(xmass(1:numpoint,1:nspec))
    643   end if
    644 
    645649  return
    646650
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG