Skip to main content
. 2022 Mar 31;22(7):2691. doi: 10.3390/s22072691
Algorithm 1 Kernel of updating electric field
  • tiblockIdx.x*blockDim.x+threadIdx.x

  • tjblockIdx.y*blockDim.y+threadIdx.x

  • if ti<Imax and tj<Jmax then

  •    for tk1 to Kmax do

  •      Ei[ti+tj*Imax+tk*(Imax*Jmax)]UpdateEi

  •    end for

  •  end if