Skip to content

Commit

Permalink
updated EMfldCart.f90
Browse files Browse the repository at this point in the history
  • Loading branch information
qianglbl committed Oct 22, 2024
1 parent 87494d2 commit 3bad673
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Appl/EMfldCart.f90
Original file line number Diff line number Diff line change
Expand Up @@ -1084,7 +1084,8 @@ subroutine getfldt_EMfldCart(pos,extfld,this,fldata)
jx = (pos(2)-fldata%YminRfgt)/hy + 1
cd = ((fldata%YminRfgt-pos(2))+jx*hy)/hy
hz = (fldata%ZmaxRfgt-fldata%ZminRfgt)/fldata%NzIntvRfgt
zz = pos(3)-this%Param(1)+fldata%ZminRfgt
!zz = pos(3)-this%Param(1)+fldata%ZminRfgt
zz = pos(3)-this%Param(1)
kx = (zz-fldata%ZminRfgt)/hz + 1
ef = ((fldata%ZminRfgt-zz)+kx*hz)/hz
ix1 = ix + 1
Expand Down Expand Up @@ -1211,7 +1212,8 @@ subroutine getflderrt_EMfldCart(pos,extfld,this,fldata)
jx = (poss(2)-fldata%YminRfgt)/hy + 1
cd = ((fldata%YminRfgt-poss(2))+jx*hy)/hy
hz = (fldata%ZmaxRfgt-fldata%ZminRfgt)/fldata%NzIntvRfgt
zz = poss(3)-this%Param(1)+fldata%ZminRfgt
!zz = poss(3)-this%Param(1)+fldata%ZminRfgt
zz = poss(3)-this%Param(1)
kx = (zz-fldata%ZminRfgt)/hz + 1
ef = ((fldata%ZminRfgt-zz)+kx*hz)/hz
ix1 = ix + 1
Expand Down

0 comments on commit 3bad673

Please sign in to comment.