fd1d_wave_test, a C++ code which calls fd1d_wave() which applies the finite difference method to solve a version of the wave equation in one spatial dimension.
The computer code and data files described and made available on this web page are distributed under the MIT license
fd1d_wave, a C++ code which applies the finite difference method (FDM) to solve the time-dependent wave equation utt = c * uxx in one spatial dimension.
test01_plot sets up the "shark wave".
test02_plot sets up a sine wave.