Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checking function for inputs #165

Open
RyanDavies19 opened this issue Oct 19, 2023 · 1 comment
Open

Checking function for inputs #165

RyanDavies19 opened this issue Oct 19, 2023 · 1 comment
Assignees
Milestone

Comments

@RyanDavies19
Copy link
Collaborator

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.

@RyanDavies19 RyanDavies19 added this to the 2.3.0 milestone Oct 19, 2023
@RyanDavies19 RyanDavies19 self-assigned this Oct 19, 2023
@sanguinariojoe sanguinariojoe modified the milestones: 2.3.0, 2.4.0 May 31, 2024
@RyanDavies19
Copy link
Collaborator Author

RyanDavies19 commented Jun 27, 2024

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:

// TODO: add checks of first char of num1,2, let1,2,3 not

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants