Particle-in-cell simulations with charge-conserving current deposition on graphic processing units |
| |
Authors: | Xianglong Kong Michael C Huang Chuang Ren Viktor K Decyk |
| |
Institution: | 1. Department of Mechanical Engineering, University of Rochester, Rochester, NY 14627, USA;2. Laboratory for Laser Energetics, University of Rochester, Rochester, NY 14627, USA;3. Department of Electrical and Computer Engineering, University of Rochester, Rochester, NY 14627, USA;4. Department of Physics and Astronomy, University of Rochester, Rochester, NY 14627, USA;5. Department of Physics and Astronomy, University of California Los Angeles, Los Angeles, CA 90095, USA |
| |
Abstract: | We present an implementation of a 2D fully relativistic, electromagnetic particle-in-cell code, with charge-conserving current deposition, on parallel graphics processors (GPU) with CUDA. The GPU implementation achieved a one particle-step process time of 2.52 ns for cold plasma runs and 9.15 ns for extremely relativistic plasma runs, which are respectively 81 and 27 times faster than a single threaded state-of-art CPU code. A particle-based computation thread assignment was used in the current deposition scheme and write conflicts among the threads were resolved by a thread racing technique. A parallel particle sorting scheme was also developed and used. The implementation took advantage of fast on-chip shared memory, and can in principle be extended to 3D. |
| |
Keywords: | |
本文献已被 ScienceDirect 等数据库收录! |
|