This little program compares different numerical methods (euler foreward in time with upwind in space, Lax-Wendroff and a spectral method) for the linear advection equation.
numpy
matplotlib
Test of different numerical schemes for the 1D linear advection equatin.
PythonMIT