Several numerical methods, such as the split-step Crank–Nicolson and Fourier spectral methods, have been used for solving GPE. There are also different Fortran and C programs for its solution for the contact interaction and long-range dipolar interaction.