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

Fix bug in ExternalInflow Orientation indexing #2628

Merged
merged 2 commits into from
Feb 10, 2025

Conversation

deslaughter
Copy link
Collaborator

This PR is ready to be merged.

Feature or improvement description

An issue was discovered with the indexing in ExternalInflow which populates the Orientation data that is sent to AMR-Wind. Effectively a +1 was replaced with a _1 and instead of throwing a compilation error, this was interpreted as a type specification. This lead to an off-by-one indexing error in the orientation matrices. This PR fixes this issue and adds a new regression test which exercises the ExternalInflow module.

Impacted areas of the software

ExternalInflow and regression tests.

Test results, if applicable

New test was added and is passing.

Copy link
Collaborator

@andrew-platt andrew-platt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding a test as well!

@andrew-platt andrew-platt merged commit 1045e5d into OpenFAST:dev Feb 10, 2025
43 of 44 checks passed
@deslaughter deslaughter mentioned this pull request Feb 11, 2025
29 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants