Aliev-Panfilov model. 1D travelling waves

We include diffusion term D Δu = D ∂2u / ∂x2 to get running waves.
a k Δt Δx D speed

delay Ymin Ymax it fps
This script uses explicit Euler scheme. It makes it time steps per frame. Full ring length is 1024×Δx. Use Alt- r, s keys to control the script.
Heart rhythms     updated 9 June 2012