Solution of the forced nonlinear schrödinger (nls) equation using pde techniques