MHKiT-MATLAB icon indicating copy to clipboard operation
MHKiT-MATLAB copied to clipboard

Correctly map `Hs` argument in `jonswap_spectrum`

Open simmsa opened this issue 9 months ago • 0 comments

This fixes a bug, described in #132, where the Hs argument input into the jonswap_spectrum function is not properly mapped to the corresponding mhkit.wave.resource.jonswap_spectrum function. This maps Hs into the 3rd argument of jonswap_spectrum when the gamma parameter is passed. Test failures are expected until this is rebased to include #131.

simmsa avatar May 10 '24 20:05 simmsa