Changes in src/readreleases.f90 [05cf28d:c8fc724] in flexpart.git


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/readreleases.f90

    r05cf28d 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.
     
    574579  endif
    575580
     581
    576582  ! Determine the release rate (particles per second) and total number
    577583  ! of particles released during the simulation
     
    633639  endif
    634640
     641  if (lroot) then
     642    write(*,FMT='(A,ES14.7)') ' Total mass released:', sum(xmass(1:numpoint,1:nspec))
     643  end if
     644
    635645  return
    636646
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG