Two fourth-order compact finite difference schemes including a Crank-Nicolson one and a semi-implicit one are derived for solving the nonlinear Klein-Gordon equations in the nonrelativistic regime. The optimal error estimates and the strategy in choosing time step are rigorously analyzed, and the energy conservation in the discrete sense is also studied. Under proper assumption on the analytical solutions, the errors of the two schemes both are proved to be of O (h 4 + 2 6) with mesh size h and time-step τ. Numerical simulations are provided to confirm the theoretical analysis.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.