Numerical Methods, Advection, Leapfrog, Pde, Fdtd.
space discretizations are introduced as: where x0=xmin, xN=xmax, t0=tstart, tM=tend. In this way, we are not searching for the values of u for x and t in continuous domains, but our unknowns become the samples: Under the above discretization, the initial condition is given by while the boundary