Changeset f75967d in flexpart.git for src/wetdepo.f90


Ignore:
Timestamp:
Jan 5, 2016, 12:20:01 PM (8 years ago)
Author:
Espen Sollum ATMOS <eso@…>
Branches:
master, 10.4.1_pesei, GFS_025, bugfixes+enhancements, dev, release-10, release-10.4.1, scaling-bug, univie
Children:
d8107c2
Parents:
d6a0977
Message:

Fixed a bug with number of occurances of wet scavenging written to stdout

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/wetdepo.f90

    rd6a0977 rf75967d  
    7373  integer :: ngrid,itage,nage,hz,il,interp_time, n, clouds_v
    7474  integer :: ks, kp
    75   integer :: n1,n2, icbot,ictop, indcloud !TEST
     75!  integer :: n1,n2, icbot,ictop, indcloud !TEST
    7676  real :: S_i, act_temp, cl, cle ! in cloud scavenging
    7777  real :: clouds_h ! cloud height for the specific grid point
     
    105105  ! Loop over all particles
    106106  !************************
    107 
    108107
    109108  blc_count=0
     
    185184    n=memind(2)
    186185    if (abs(memtime(1)-interp_time).lt.abs(memtime(2)-interp_time)) &
    187     n=memind(1)
     186         n=memind(1)
    188187
    189188    if (ngrid.eq.0) then
     
    199198  ! scavenging is done
    200199
    201      if (clouds_v.le.1) goto 20
     200    if (clouds_v.le.1) goto 20
    202201 
    203202  ! 1) Parameterization of the the area fraction of the grid cell where the
     
    311310! NIK 13 may 2015: only do incloud if positive in-cloud scavenging parameters are given in species file
    312311        if (weta_in(ks).gt.0. .or. wetb_in(ks).gt.0.) then
     312          inc_count=inc_count+1
    313313! if negative coefficients (turned off) set to zero for use in equation
    314314          if (weta_in(ks).lt.0.) weta_in(ks)=0.
     
    355355           !OLD
    356356          if (readclouds) then
    357            wetscav=S_i*(prec(1)/3.6E6)
     357            wetscav=S_i*(prec(1)/3.6E6)
    358358          else
    359           wetscav=S_i*(prec(1)/3.6E6)/clouds_h
     359            wetscav=S_i*(prec(1)/3.6E6)/clouds_h
    360360          endif
    361361
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG