J. Yang, "Symmetry breaking of solitons in two-dimensional complex potentials", to appear in Phys. Rev. E (see also arXiv:1410.3039 [nlin.PS], 2014).


    Newton-CG code for computing solitons in the two-dimensional NLS equation with a PPT-symmetric complex potential (see Fig. 2, at point ‘c’):


     the code