摘要:In this paper, the idea of nonstandard finite difference discretization is employed to develop two variational integrators for the nonlinear Schrödinger equation with variable coefficients. These integrators are naturally multi-symplectic, and their multi-symplectic structures are presented by the multi-symplectic form formulas. Local truncation errors and convergences of the integrators are briefly discussed. The effectiveness and efficiency of the proposed schemes, such as the convergence order, numerical stability, and the capability in preserving the norm conservation, are verified in the numerical experiments.