The code is to reproduce the results in the paper ‘Interaction of “Solitons” in a Collisionless Plasma and the Recurrence of Initial States’ by N. J. Zabusky and M. D. Kruskal (1965). A linearly explicit pseudo-spectral method was used.
jundongq/Korteweg-deVries-KdV-Equation-Solution
Pseudo-spectral method was employed to numerically solve KdV equation
Python