Bug description
The definition of the function FAST_InitializeAll_T has TurbId as it's second argument. The call sites: https://github.com/OpenFAST/openfast/blob/main/modules/openfast-library/src/FAST_Library.f90#L144 and https://github.com/OpenFAST/openfast/blob/main/modules/openfast-library/src/FAST_Library.f90#L148 pass in iTurb to that argument and not TurbId.
To Reproduce
I am calling openfast from amr-wind but this isn't specific to that and I don't build stand-alone openfast so I am not sure what the steps are to reproduce.
Expected behavior
I would expect TurbId to be passed to FAST_InitializeAll_T and not iTurb since that is what it expects in the argument list.
OpenFAST Version
3.5.2
System Information (please complete the following information):
- OS: NAME="Rocky Linux" VERSION="8.9 (Green Obsidian)" ID="rocky" ID_LIKE="rhel centos fedora" VERSION_ID="8.9"
- Compiler: GNU Fortran (Spack GCC) 10.4.0
Bug description
The definition of the function FAST_InitializeAll_T has
TurbIdas it's second argument. The call sites: https://github.com/OpenFAST/openfast/blob/main/modules/openfast-library/src/FAST_Library.f90#L144 and https://github.com/OpenFAST/openfast/blob/main/modules/openfast-library/src/FAST_Library.f90#L148 pass iniTurbto that argument and notTurbId.To Reproduce
I am calling openfast from amr-wind but this isn't specific to that and I don't build stand-alone openfast so I am not sure what the steps are to reproduce.
Expected behavior
I would expect
TurbIdto be passed toFAST_InitializeAll_Tand notiTurbsince that is what it expects in the argument list.OpenFAST Version
3.5.2
System Information (please complete the following information):