This paper presents GPELab (Gross–Pitaevskii Equation Laboratory), an advanced easy-to-use and flexible Matlab toolbox for numerically simulating many complex physics situations related to Bose–Einstein condensation. The model equation that GPELab solves is the Gross–Pitaevskii equation. The aim of this first part is to present the physical problems and the robust and accurate numerical schemes that are implemented for computing stationary solutions, to show a few computational examples and to explain how the basic GPELab functions work. Problems that can be solved include: 1d, 2d and 3d situations, general potentials, large classes of local and nonlocal nonlinearities, multi-components problems, and fast rotating gases. The toolbox is developed in such a way that other physics applications that require the numerical solution of general Schrödinger-type equations can be considered. Program summaryProgram title: GPELabCatalogue identifier: AETU_v1_0Program summary URL:http://cpc.cs.qub.ac.uk/summaries/AETU_v1_0.htmlProgram obtainable from: CPC Program Library, Queen’s University, Belfast, N. IrelandLicensing provisions: Standard CPC licence, http://cpc.cs.qub.ac.uk/licence/licence.htmlNo. of lines in distributed program, including test data, etc.: 26552No. of bytes in distributed program, including test data, etc.: 611289Distribution format: tar.gzProgramming language: Matlab.Computer: PC, Mac.Operating system: Windows, Mac OS, Linux.Has the code been vectorized or parallelized?: YesRAM: 4000 MegabytesClassification: 2.7, 4.6, 7.7.Nature of problem:Computing stationary solutions for a class of systems (multi-components) of Gross–Pitaevskii equations in 1d, 2d and 3d. This program is particularly well designed for the computation of ground states of Bose–Einstein condensates as well as dynamics.Solution method:We use the imaginary-time method with a Semi-Implicit Backward Euler scheme, a pseudo-spectral approximation and a Krylov subspace method.Running time:From a few minutes for simple problems to a week for more complex situations on a medium computer.
Read full abstract