Skip to content

Add unit tests for BD_ComputeIniNodalCrv#636

Merged
rafmudaf merged 2 commits into
OpenFAST:devfrom
ashesh2512:unit_test
Jan 19, 2021
Merged

Add unit tests for BD_ComputeIniNodalCrv#636
rafmudaf merged 2 commits into
OpenFAST:devfrom
ashesh2512:unit_test

Conversation

@ashesh2512

@ashesh2512 ashesh2512 commented Jan 15, 2021

Copy link
Copy Markdown
Contributor
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
! --------------------------------------------------------------------------
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
Copy Markdown
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