Research Article
OpenCL-Based FPGA Accelerator for 3D FDTD with Periodic and Absorbing Boundary Conditions
Listing 1
Extract of a C-program that shows the computation of
.
E2 = Enx[i][j][k]+Enx[i][j][k]; | Efx[i][j][k]= E2−Epx[i][j][k]+ssnx[i][j][k] | ( R[](Enx[i][j+1][k]−E2+Enx[i][j−1][k]) | +R[](Enx[i][j][k+1]−E2+Enx[i][j][k−1]) | −R[](Eny[i+1][j][k]−Eny[i+1][j−1][k]+ | Eny[i][j−1][k]−Eny[i][j][k]) | −R[](Enz[i+1][j][k]−Enz[i+1][j][k−1]+ | Enz[i][j][k−1]−Enz[i][j][k])); |
|