Physics 381C: FD Methods and Numerical Algorithms for Time Dependent PDEs
Please report all errors/typos. etc to
[email protected]
- Lectures 1 and 2 (Apr 8, 10)
- 1-d Wave Equation solved using O(h^2) FD techniques
- wave1d.f:
Main program.
- util.f:
Utility routines, including routine to output time series
of 1-d profiles for subsequent plotting with splot
(parametric surface plot) in gnuplot.
- Makefile
- PS surface plot generated from level 8 output
with Courant number = 0.5. (Choose Landscape from
Orientation menu if using ghostview.)
- PS surface plot generated from level 8 output
with Courant number = 1.00025 (marginally unstable).
- Sample output (standard output) from level 4 run;
this is the form that gnuplot requires for data which is to be displayed
as a surface plot. The three columns of data are t, x and f(t,x) respectively.
Empty lines separate succesive "rows" of data. See help splot and
help splot datafile in gnuplot for more information.
- Sample gnuplot input file for
producing parametric surface plots.