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

BugFix: Checks to populate matrix input to Newman's app were reversed #1108

Merged
merged 3 commits into from
Apr 30, 2022
Merged

BugFix: Checks to populate matrix input to Newman's app were reversed #1108

merged 3 commits into from
Apr 30, 2022

Conversation

lucas-carmo
Copy link
Contributor

This PR is ready to be merged.

Feature or improvement description

Only half of the direction pairs of the WAMIT mean drift files are needed to use Newman's approximation, as the other pairs can be obtained by symmetry. However, the checks used to exploit this symmetry and populate the whole matrix were reversed, and this is fixed by this pull request.

Related issue, if one exists

#1096

Impacted areas of the software

HydroDyn (only when Newman's approximation is used)

Additional supporting information

Test results, if applicable

I may be mistaken, but there are currently no tests using Newman's approximation.

@andrew-platt
Copy link
Collaborator

Thanks for your contribution!

@lucas-carmo
Copy link
Contributor Author

My pleasure!

@andrew-platt andrew-platt merged commit fc69f57 into OpenFAST:dev Apr 30, 2022
@lucas-carmo lucas-carmo deleted the fixFillMatrixNewmApp branch April 30, 2022 17:32
@rafmudaf rafmudaf mentioned this pull request Jul 8, 2022
10 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