Integration of the nonlinear Schrodinger equation with a source | Synapse