NREL / SOWFA

Other
131 stars 113 forks source link

indexing typo #12

Closed ewquon closed 6 years ago

ewquon commented 6 years ago

The cartesian wind vectors are indexed as bladeWindVectorsCartesian[i][i][k] instead of bladeWindVectorsCartesian[i][j][k]

This occurs in horizontalAxisWindTurbinesALMfastv8 as well as horizontalAxisWindTurbinesALMOpenFAST.

https://github.com/NREL/SOWFA/blob/513cab99d8010be2aba677f82a893e31d7a02d23/src/turbineModels/turbineModelsOpenFAST/horizontalAxisWindTurbinesALMOpenFAST/horizontalAxisWindTurbinesALMOpenFAST.C#L2307

mchurchf commented 6 years ago

This should all be fixed now. Sorry about this bug.