JefiGPU: Jefimenko's Equations on GPU
arXiv:2104.05426 · doi:10.1016/j.cpc.2022.108328
Abstract
We have implemented a GPU version of the Jefimenko's equations -- JefiGPU. Given the proper distributions of the source terms (charge density) and (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.
arXiv comment21 pages, 8 figures, 4 tables
References in corpus (7)
- Relativistic Fluid Dynamics: Physics for Many Different Scales
- A microscopic description for polarization in particle scatterings
- Evolution to the Quark-Gluon Plasma
- ZMCintegral: a Package for Multi-Dimensional Monte Carlo Integration on Multi-GPUs
- Towards a full solution of relativistic Boltzmann equation for quark-gluon matter on GPUs
- Early anisotropic hydrodynamics and the RHIC early-thermalization and HBT puzzles
- ZMCintegral-v5: Support for Integrations with the Scanning of Large Parameter Grids on Multi-GPUs