initWithGMSpectrum
initialize the wave field following a Garrett-Munk spectrum
Declaration
initWithGMSpectrum(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)