JefiGPU: Jefimenko's equations on GPU

Published: 21 March 2022| Version 1 | DOI: 10.17632/6vnghzknx4.1
Contributors:
Jun-Jie Zhang, Jian-Nan Chen, Guo-Liang Peng, Tai-Jiao Du, Hai-Yan Xie

Description

We have implemented a GPU version of the Jefimenko's equations — JefiGPU. Given the proper distributions of the source terms ρ (charge density) and 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. 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.

Files

Categories

Nuclear Physics, Computational Physics, Electromagnetics

Licence