Matlab code is presently available for studying coastal-trapped waves along a straight coastline. There are currently two versions, both of which allow for a mean alongshore flow, arbitrary stratification and arbitrary topography. There is flexibility as to open or closed boundaries at the onshore and offshore edges of the domain. Both versions have embedded graphics and diagnostics.
Each code actually consists of a set of mfiles, and auxiliary mfiles that help create input arrays for the code. It is highly recommended that, if you use both versions of the code, you keep the separate sets of mfiles in different directories.
Because this code is new, and relatively lightly tested to date, it is not simply placed on the internet for all to use. If you are interested in using it, please contact me directly (kbrink@whoi.edu), and I will send you the files. I am not trying to limit access, but simply to keep track of who is using the code.
Documentation is available as follows:
Coastal trapped waves with real frequency (stable waves with weak frictional damping)
http://www.whoi.edu/cms/files/READBIGR_30464.pdf. This is the recommended starting point for all users.
Coastal trapped waves with complex frequency (unstable or strongly damped waves).
http://www.whoi.edu/cms/files/READBIGC_30463.pdf.
The underlying governing equations in the code are documented in
Brink, K. H. Coastal-trapped waves with finite bottom friction. Dynamics of Atmospheres and Oceans, 41, 172-190.
Ken Brink