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

Add unit tests for BD_ComputeIniNodalCrv #636

Merged
merged 2 commits into from
Jan 19, 2021
Merged

Conversation

ashesh2512
Copy link
Contributor

@ashesh2512 ashesh2512 commented Jan 15, 2021

Ready to merge All tests pass

Feature or improvement description

Add unit tests for checking computation of rotation matrix that accounts for beam curvature and twist in the routine BD_ComputeIniNodalCrv

Related issue, if one exists

Impacted areas of the software

Additional supporting information

Test results, if applicable

@ashesh2512 ashesh2512 requested a review from rafmudaf January 15, 2021 00:02
@@ -27,7 +27,7 @@ subroutine test_BD_ComputeIniNodalCrv()

! --------------------------------------------------------------------------
testname = "Tangent aligned with z-axis and 0 degree twist:"
n = (/ 0.0_BDKi, 0.0_BDKi, 1.0_BDKi /) ! tangent axis
n = (/ real(0.0, BDKi), real(0.0, BDKi), real(1.0, BDKi) /) ! tangent axis
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm surprised there were any issues with the original code for this line. I can see other lines were missing the _BDKi part, but I'm surprised that writing 0.0_BDKi was problematic.

@rafmudaf rafmudaf merged commit 6ad1628 into OpenFAST:dev Jan 19, 2021
@rafmudaf rafmudaf mentioned this pull request May 11, 2021
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.

3 participants