GSGPEs

GSGPEs: a MATLAB code for computing the ground state of systems of Gross-Pitaevskii equations. GSGPEs is a Matlab/GNU Octave suite of programs for the computation of the ground state of systems of Gross-Pitaevskii equations. It can compute the ground state in the defocusing case, for any number of equations with harmonic or quasi-harmonic trapping potentials, in spatial dimension one, two or three. The computation is based on a spectral decomposition of the solution into Hermite functions and direct minimization of the energy functional through a Newton-like method with an approximate line-search strategy.