Changeset 1c0d5e6 in flexpart.git for src/conccalc.f90


Ignore:
Timestamp:
Dec 1, 2016, 12:47:22 PM (7 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, univie
Children:
56a2e54
Parents:
8ee24a5
Message:

adding logical usekernel var-also for dry and wet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/conccalc.f90

    r92a74b2 r1c0d5e6  
    6161
    6262
    63   integer :: usekernel
    64 
    65   usekernel=1
    66   if (usekernel.ne.1) then
     63  if (.not.usekernel) then
    6764     write (*,*) 'NOT USING THE KERNEL!'
    6865  endif
     
    189186      if (((itage.lt.10800).or.(xl.lt.0.5).or.(yl.lt.0.5).or. &
    190187           (xl.gt.real(numxgrid-1)-0.5).or. &
    191            (yl.gt.real(numygrid-1)-0.5)).or.(usekernel.eq.0)) then             ! no kernel, direct attribution to grid cell
     188           (yl.gt.real(numygrid-1)-0.5)).or.(.not.usekernel)) then             ! no kernel, direct attribution to grid cell
    192189        if ((ix.ge.0).and.(jy.ge.0).and.(ix.le.numxgrid-1).and. &
    193190             (jy.le.numygrid-1)) then
     
    326323        if ((itage.lt.10800).or.(xl.lt.0.5).or.(yl.lt.0.5).or. &
    327324             (xl.gt.real(numxgridn-1)-0.5).or. &
    328              (yl.gt.real(numygridn-1)-0.5).or.(usekernel.eq.0)) then             ! no kernel, direct attribution to grid cell
     325             (yl.gt.real(numygridn-1)-0.5).or.(.not.usekernel)) then             ! no kernel, direct attribution to grid cell
    329326          if ((ix.ge.0).and.(jy.ge.0).and.(ix.le.numxgridn-1).and. &
    330327               (jy.le.numygridn-1)) then
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG