Skip to content

Wrong argument passed to FAST_InitializeAll_T #2064

Description

@marchdf

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions