FloatingArrayDesign / MoorDyn

a lumped-mass mooring line model intended for coupling with floating structure codes
https://moordyn.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
73 stars 42 forks source link

Add error checking in output options list #228

Closed RyanDavies19 closed 4 months ago

RyanDavies19 commented 5 months ago

If a user gives an output channel that has an incorrect object number, MD will seg fault. Example: requesting FairTen4 from a system with 3 lines.

Corresponds with: https://github.com/FloatingArrayDesign/MoorDyn/blob/0a9a8aac08b67f37cba4a0073c0d5250b9cc9a76/source/MoorDyn2.cpp#L1260

RyanDavies19 commented 4 months ago

Duplicate of #165