Numerical solution of the Gross-Pitaevsky equation (in 1D)