- Finite Difference Approximations
A few sample fortran, matlab, and Makefile files are available to get
you started on the programming portion. The files are available here .
The matlab script used to produce the finite difference approximation shown in class can also be
downloaded for inspiration.
- FDA to advection equation
The matlab scripts for the Forward Time matlab advection can be
downloaded. The codes worked on during our programming session maybe useful in
applying the periodic boundary conditions, they can be downloaded from this directory.
- Numerical dispersion in advection equation
- Some more TE and Stability analyses
- 1D Shallow Water Solver
- 2D Shallow Water Solver
The support codes for this problem can be downloaded .
A 2D version of cgridops.f90 for per forming operations on a 2D
C-Grid is included and can be downloaded. Read the information included in the
file for reference. See me if you have any questions about how it works. Most of the code is for testing,
and only a small portion is intended for code development.