Changeset 1c0d5e6 in flexpart.git for src/drydepokernel.f90
- Timestamp:
- Dec 1, 2016, 12:47:22 PM (7 years ago)
- Branches:
- master, 10.4.1_pesei, GFS_025, bugfixes+enhancements, dev, release-10, release-10.4.1, scaling-bug, univie
- Children:
- 56a2e54
- Parents:
- 8ee24a5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/drydepokernel.f90
re200b7a r1c0d5e6 81 81 if ((abs(deposit(ks)).gt.0).and.DRYDEPSPEC(ks)) then 82 82 83 if ((ix.ge.0).and.(jy.ge.0).and.(ix.le.numxgrid-1).and. & 83 if (.not.usekernel) then 84 drygridunc(ix,jy,ks,kp,nunc,nage)= & 85 drygridunc(ix,jy,ks,kp,nunc,nage)+deposit(ks) 86 else 87 if ((ix.ge.0).and.(jy.ge.0).and.(ix.le.numxgrid-1).and. & 84 88 (jy.le.numygrid-1)) then 85 w=wx*wy89 w=wx*wy 86 90 drygridunc(ix,jy,ks,kp,nunc,nage)= & 87 91 drygridunc(ix,jy,ks,kp,nunc,nage)+deposit(ks)*w 88 continue 89 endif 92 endif 90 93 91 if ((ixp.ge.0).and.(jyp.ge.0).and.(ixp.le.numxgrid-1).and. &94 if ((ixp.ge.0).and.(jyp.ge.0).and.(ixp.le.numxgrid-1).and. & 92 95 (jyp.le.numygrid-1)) then 93 96 w=(1.-wx)*(1.-wy) 94 97 drygridunc(ixp,jyp,ks,kp,nunc,nage)= & 95 98 drygridunc(ixp,jyp,ks,kp,nunc,nage)+deposit(ks)*w 96 endif99 endif 97 100 98 if ((ixp.ge.0).and.(jy.ge.0).and.(ixp.le.numxgrid-1).and. &101 if ((ixp.ge.0).and.(jy.ge.0).and.(ixp.le.numxgrid-1).and. & 99 102 (jy.le.numygrid-1)) then 100 w=(1.-wx)*wy103 w=(1.-wx)*wy 101 104 drygridunc(ixp,jy,ks,kp,nunc,nage)= & 102 105 drygridunc(ixp,jy,ks,kp,nunc,nage)+deposit(ks)*w 103 endif106 endif 104 107 105 if ((ix.ge.0).and.(jyp.ge.0).and.(ix.le.numxgrid-1).and. &108 if ((ix.ge.0).and.(jyp.ge.0).and.(ix.le.numxgrid-1).and. & 106 109 (jyp.le.numygrid-1)) then 107 w=wx*(1.-wy)110 w=wx*(1.-wy) 108 111 drygridunc(ix,jyp,ks,kp,nunc,nage)= & 109 112 drygridunc(ix,jyp,ks,kp,nunc,nage)+deposit(ks)*w 110 endif113 endif 111 114 112 endif 115 endif ! kernel 116 endif ! deposit>0 113 117 114 118 end do
Note: See TracChangeset
for help on using the changeset viewer.