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

Setting last value of WaveDirArr (Closes #236) #237

Merged
merged 1 commit into from
Feb 21, 2019

Conversation

ebranlard
Copy link
Contributor

@ebranlard ebranlard commented Feb 7, 2019

THIS PULL REQUEST IS READY TO MERGE

Feature or improvement description

Fixes #236

Related issue, if one exists

See #236

Impacted areas of the software

Impacts HydroDyn but impact is minor since only the last value of the array (i.e the last frequency) had an erroneous wave direction in.

Copy link
Collaborator

@jjonkman jjonkman left a comment

Choose a reason for hiding this comment

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

We discussed this via e-mail and I'm fine with this change. Simply setting

InitOut%WaveDirArr(InitOut%NStepWave2)=0.0_ReKi

would also be fine because for the time series process to be real with zero mean, the values of the wave spectrum at Omega = 0.0 and Omega = NStepWave2*WaveDOmega (= WaveOmegaMax) must be zero.

@rafmudaf rafmudaf merged commit fe6c2b6 into OpenFAST:dev Feb 21, 2019
ashesh2512 pushed a commit to ashesh2512/openfast that referenced this pull request Mar 21, 2019
@ebranlard ebranlard deleted the feature/issue236 branch October 24, 2019 16:53
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