addGMSpectrum
add waves following a Garrett-Munk spectrum
Declaration
addGMSpectrum(options)
Parameters
GMAmplitude
(optional) energy amplitude, default 1j_star
(optional) modal roll-off, default 3shouldOnlyRandomizeOrientations
(optional) boolean indicating whether randomness in amplitudes should be eliminated (default 0)shouldShowDiagnostics
(optional) whether to summarize what just happened (default 0)