In some cases, invalid values in the input files cause MoorDyn to crash with a segmentation fault. It would be good to implement a function that checks values to ensure they are valid and report an error if not. I believe this mainly applies to invalid output flags and invalid object numbers. There may be more that cause this.