CUDA programs for solving the time-dependent dipolar Gross-Pitaevskii equation in an anisotropic trap.

*(English)*Zbl 1351.35003Summary: In this paper we present new versions of previously published numerical programs for solving the dipolar Gross-Pitaevskii (GP) equation including the contact interaction in two and three spatial dimensions in imaginary and in real time, yielding both stationary and non-stationary solutions. New versions of programs were developed using CUDA toolkit and can make use of Nvidia GPU devices. The algorithm used is the same split-step semi-implicit Crank-Nicolson method as in the previous version [R. Kishor Kumar et al., ibid. 195, 117–128 (2015; Zbl 1344.82006)], which is here implemented as a series of CUDA kernels that compute the solution on the GPU. In addition, the Fast Fourier Transform (FFT) library used in the previous version is replaced by cuFFT library, which works on CUDA-enabled GPUs. We present speedup test results obtained using new versions of programs and demonstrate an average speedup of 12–25, depending on the program and input size.

##### MSC:

35-04 | Software, source code, etc. for problems pertaining to partial differential equations |

35Q55 | NLS equations (nonlinear Schrödinger equations) |