A Numerical Method for a System of Generalized Nonlinear Schrödinger Equations (Journal of Computational Mathematics, 2018)