English

JefiGPU: Jefimenko's Equations on GPU

Computational Physics 2022-09-19 v1 Instrumentation and Methods for Astrophysics High Energy Physics - Phenomenology Geophysics

Abstract

We have implemented a GPU version of the Jefimenko's equations -- JefiGPU. Given the proper distributions of the source terms ρ\rho (charge density) and J\mathbf{J} (current density) in the source volume, the algorithm gives the electromagnetic fields in the observational region (not necessarily overlaps the vicinity of the sources). To verify the accuracy of the GPU implementation, we have compared the obtained results with that of the theoretical ones. Our results show that the deviations of the GPU results from the theoretical ones are around 5\%. Meanwhile, we have also compared the performance of the GPU implementation with a CPU version. The simulation results indicate that the GPU code is significantly faster than the CPU version. Finally, we have studied the parameter dependence of the execution time and memory consumption on one NVIDIA Tesla V100 card. Our code can be consistently coupled to RBG (Relativistic Boltzmann equations on GPUs) and many other GPU-based algorithms in physics.

Keywords

Cite

@article{arxiv.2104.05426,
  title  = {JefiGPU: Jefimenko's Equations on GPU},
  author = {Jun-Jie Zhang and Jian-Nan Chen and Guo-Liang Peng and Tai-Jiao Du and Hai-Yan Xie},
  journal= {arXiv preprint arXiv:2104.05426},
  year   = {2022}
}

Comments

21 pages, 8 figures, 4 tables

R2 v1 2026-06-24T01:04:40.709Z