This zip file contains a variety of functions for calculating the depth-dependent and depth-integrated Stokes drift for directional random seas in deep water. These functions use either 1D or 2D wave spectra and can handle an arbitrary number of spatial and temporal dimensions. A detailed description of the different functions can be found at www.adreanwebb.com.
Forward compatible through the current release.
Create scripts with code, output, and formatted text in a single executable document.