SNL-WaterPower / WecOptTool-MATLAB

WEC Design Optimization Toolbox
GNU General Public License v3.0
12 stars 9 forks source link

Add note attribute to SeaState class #187

Closed H0R5E closed 3 years ago

H0R5E commented 3 years ago

Description

This commit adds the note attribute to the SeaState class to carry a description of each spectrum. This allows direct definition when initializing from WAFO for instance. If the note field is not set in the input struct then a default value is added.

A test was also added to check the plotting code shown in the RM3 optimization.m example in the online docs.

Fixes #186

Checklist:

test_results.pdf