Coupled Gross–Pitaevskii equations with a square-well and a Coulomb potential