Adapt the following 2nd-order code that solves the long-wavelength
(shallow water) approximation of the tsunami wave equation to include
the following:
1) a 4th-order solution to the inteior
2) include the inhomogeneous term in both 2nd and 4th order
The code is C-code that can be compiled with
cc -o class_tsunami class_tsunami.c -lm (use gcc on linux)
The code is then executed by simply typing
class_tsunami
The output is in the file 'slices.out', which can then be
viewed in matlab with the script 'domovie.m'
The file you will need to download are:
C-code
Matlab display
Bathmetry file: Unix Binary Linux Binary