Skip to content

Commit 1045e5d

Browse files
authored
Merge pull request #2628 from deslaughter/b/extinfw-orientation
Fix bug in ExternalInflow Orientation indexing
2 parents e4a05c7 + e0da8c1 commit 1045e5d

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

modules/externalinflow/src/ExternalInflow.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ SUBROUTINE SetExtInfwPositions(p_FAST, u_AD, ExtInfw, ErrStat, ErrMsg)
423423
ExtInfw%u%xdotForce(Node) = real(ExtInfw%m%ActForceMotionsPoints(k)%TranslationVel(1,J),c_float)
424424
ExtInfw%u%ydotForce(Node) = real(ExtInfw%m%ActForceMotionsPoints(k)%TranslationVel(2,J),c_float)
425425
ExtInfw%u%zdotForce(Node) = real(ExtInfw%m%ActForceMotionsPoints(k)%TranslationVel(3,J),c_float)
426-
ExtInfw%u%pOrientation((Node-1)*9_1:Node*9) = real(pack(ExtInfw%m%ActForceMotionsPoints(k)%Orientation(:,:,J),.true.),c_float)
426+
ExtInfw%u%pOrientation((Node-1)*9+1:Node*9) = real(pack(ExtInfw%m%ActForceMotionsPoints(k)%Orientation(:,:,J),.true.),c_float)
427427
END DO
428428

429429
END DO

reg_tests/CTestList.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,7 @@ of_aeromap_regression("5MW_Land_AeroMap" "aeromap;elastodyn;aerody
359359
if(BUILD_OPENFAST_CPP_DRIVER)
360360
of_cpp_interface_regression("5MW_Land_DLL_WTurb_cpp" "openfast;fastlib;cpp")
361361
of_cpp_interface_regression("5MW_Restart_cpp" "openfast;fastlib;cpp;restart")
362+
of_cpp_interface_regression("5MW_Land_DLL_WTurb_ExtInfw_cpp" "openfast;fastlib;extinfw;cpp")
362363
endif()
363364

364365
# OpenFAST Driver test for OpenFAST C++ Library

0 commit comments

Comments
 (0)