Returns the horizontal velocity of a water particle under a sinusoid wave, given its amplitude, wavenumber, and frequency.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=realkind), | intent(in) | :: | x | Horizontal space [m] |
||
real(kind=realkind), | intent(in) | :: | z | Vertical space, negative downward [m] |
||
real(kind=realkind), | intent(in) | :: | t | Time [s] |
||
real(kind=realkind), | intent(in) | :: | a | Wave amplitude [m] |
||
real(kind=realkind), | intent(in) | :: | k | Wavenumber [rad/m] |
||
real(kind=realkind), | intent(in) | :: | omega | Angular frequency [rad] |