Numerical Methods, Advection, Leapfrog, Pde, Fdtd.
require an element with index N+1 which would be outside the solution domain. For this reason, the Mur boundary condition is employed, i.e.: where The Courant number must meet the following condition (Courant-Friedrichs-Lewy, or CFL, condition): to guarantee numerical stability of the algorithm.