Skip to content

Checking function for inputs #165

Closed
Closed

Description

@RyanDavies19

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.

Activity

  1. added this to the 2.3.0 milestone on Oct 19, 2023
  2. self-assigned this
    on Oct 19, 2023
  3. modified the milestones: 2.3.0, 2.4.0 on May 31, 2024
  4. RyanDavies19 commented on Jun 27, 2024

    @RyanDavies19
    CollaboratorAuthor

    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

  5. modified the milestones: 2.4.0, 2.5.0 on Mar 26, 2025
  6. RyanDavies19 commented on Aug 27, 2025

    @RyanDavies19
    CollaboratorAuthor

    Resolved by #325

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions