Skip to content

Commit

Permalink
Feature/issue246 (OpenFAST#247)
Browse files Browse the repository at this point in the history
* WaveMode was set to 0 instead of WaveDirMod (Fixes OpenFAST#246)
  • Loading branch information
ebranlard authored and Ashesh Sharma committed Mar 21, 2019
1 parent 9c0ae40 commit 1329d74
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion modules-local/hydrodyn/src/HydroDyn_Input.f90
Original file line number Diff line number Diff line change
Expand Up @@ -2604,7 +2604,6 @@ SUBROUTINE HydroDynInput_ProcessInitData( InitInp, ErrStat, ErrMsg )
InitInp%Waves%WaveMultiDir = .TRUE.
ELSEIF ( (InitInp%Waves%WaveMod < 2 .OR. InitInp%Waves%WaveMod >4) .AND. InitInp%Waves%WaveDirMod == 1 ) THEN
CALL SetErrStat( ErrID_Warn,'WaveDirMod unused unless WaveMod == 2, 3, or 4. Ignoring WaveDirMod.',ErrStat,ErrMsg,RoutineName)
InitInp%Waves%WaveMod = 0
ENDIF


Expand Down

0 comments on commit 1329d74

Please sign in to comment.