Skip to content

setRotationRate for local blocks does not work correctly #353

@lamkina

Description

@lamkina

Description

The setRoationRate function in pyADflow has a bug that prevents assigning specific rotation rates to individual blocks. Instead, the rate is applied to n cgns blocks starting form the first block number.

PR #323 potentially has fixes for this bug, however due to inactivity and incompleteness that PR has been closed.

Steps to reproduce issue

PR #323 identified this bug, but no tests or MWE was provided.

Current behavior

Currently ADflow applies the rotation rate the first n blocks instead of targeting specific blocks provided by the user.

Expected behavior

Rotation rates should be applied to specific blocks provided by the user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions