Coastal.dll provides coastal mechanics functions to a wide range of development platforms such as Microsoft Excel, Access, Visual Studio as well as MatLAB. The primary purpose is to simplify the process of exploring many of topics related to Coastal Engineering. From the basic principles of gravity waves though to coastal morphology.

The functions cover the following areas:

- Small Amplitude Wave Theory (Linear)
- Natural Waves
- Wave Transformation
- Surf Zone
- Tides and Surges
- Coastal Structures
- Coastal Morphology

Coastal.dll is aimed towards students that have little or no experience with programming. All the functions have value checks performed to aid in providing exceptions to suit the student studying subjects such as coastal mechanics. While these checks may be considered a hindrance to the speed of execution, its benefit to improving the communication with teaching staff by removing many of the simple mistakes that students make by providing warning within the development environment itself.

The SineWaveVelocityPotential function showing the values being checked before the actual function.////// φ, phase is the position of a point in time (an instant) on a waveform cycle. /// /// [Symbol: φ, psi ] /// [Type : ] /// [Unit : ] /// /// Wave Height /// Wave Length /// Angular Velocity /// Wave Number /// Depth co-ordinate /// Depth to the sea-floor /// Distance co-ordinate /// Time /// public static float SineWaveVelocityPotential(float H, float L, float ω, float k, float z, float h, float x, float t) { Check_H(H); Check_L(L); Check_ω(ω); Check_k(k); Check_z(z); Check_h(h); Check_x(x); Check_t(t); return (-g / ω) * (H / 2) * ((float)Math.Cosh(k * (z + h)) / (float)Math.Cosh(k * h)) * ((float)Math.Sin((k * x) - (ω * t))); }

By supplying the functions within an Application Program Interface (API) students can reduce the amount of calculations and effort needed to examine near shore coastal dynamic concepts for themselves. This provides them with more time to engross themselves, or go out drinking with their friends. Win-win either way eh?