Changeset 6985a98 in flexpart.git for src/wetdepokernel.f90


Ignore:
Timestamp:
May 8, 2017, 5:28:32 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:
2bec33e
Parents:
d9f0585 (diff), d1a8707 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

compiles after merge scavenging into test dev

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/wetdepokernel.f90

    r4c64400 r6985a98  
    9595  do ks=1,nspec
    9696
    97   if ((ix.ge.0).and.(jy.ge.0).and.(ix.le.numxgrid-1).and. &
     97  if (.not.usekernel) then
     98      wetgridunc(ix,jy,ks,kp,nunc,nage)= &
     99           wetgridunc(ix,jy,ks,kp,nunc,nage)+deposit(ks)
     100  else
     101    if ((ix.ge.0).and.(jy.ge.0).and.(ix.le.numxgrid-1).and. &
    98102       (jy.le.numygrid-1)) then
    99     w=wx*wy
     103      w=wx*wy
    100104      wetgridunc(ix,jy,ks,kp,nunc,nage)= &
    101105           wetgridunc(ix,jy,ks,kp,nunc,nage)+deposit(ks)*w
    102   endif
     106    endif
    103107
    104   if ((ixp.ge.0).and.(jyp.ge.0).and.(ixp.le.numxgrid-1).and. &
     108    if ((ixp.ge.0).and.(jyp.ge.0).and.(ixp.le.numxgrid-1).and. &
    105109       (jyp.le.numygrid-1)) then
    106     w=(1.-wx)*(1.-wy)
     110      w=(1.-wx)*(1.-wy)
    107111      wetgridunc(ixp,jyp,ks,kp,nunc,nage)= &
    108112           wetgridunc(ixp,jyp,ks,kp,nunc,nage)+deposit(ks)*w
    109   endif
     113    endif
    110114
    111   if ((ixp.ge.0).and.(jy.ge.0).and.(ixp.le.numxgrid-1).and. &
     115    if ((ixp.ge.0).and.(jy.ge.0).and.(ixp.le.numxgrid-1).and. &
    112116       (jy.le.numygrid-1)) then
    113     w=(1.-wx)*wy
     117      w=(1.-wx)*wy
    114118      wetgridunc(ixp,jy,ks,kp,nunc,nage)= &
    115119           wetgridunc(ixp,jy,ks,kp,nunc,nage)+deposit(ks)*w
    116   endif
     120    endif
    117121
    118   if ((ix.ge.0).and.(jyp.ge.0).and.(ix.le.numxgrid-1).and. &
     122    if ((ix.ge.0).and.(jyp.ge.0).and.(ix.le.numxgrid-1).and. &
    119123       (jyp.le.numygrid-1)) then
    120     w=wx*(1.-wy)
     124      w=wx*(1.-wy)
    121125      wetgridunc(ix,jyp,ks,kp,nunc,nage)= &
    122126           wetgridunc(ix,jyp,ks,kp,nunc,nage)+deposit(ks)*w
    123   endif
     127    endif
     128  endif
    124129  end do
    125130  end if
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG