Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for pointers in OpenFAST Registry generated Pack and Unpack subroutines #1625

Merged
merged 17 commits into from
Jun 20, 2023

Commits on Jun 14, 2023

  1. Configuration menu
    Copy the full SHA
    4440ed6 View commit details
    Browse the repository at this point in the history
  2. Update Registry Pack/Unpack to support Pointers

    This commit significantly modifies the OpenFAST Registry code which
    generated the Pack and Unpack routines so that it can support packing
    and unpacking pointers without loosing their associations. This was
    accomplished by creating a PackBuffer derived type which stores
    a buffer of bytes and a pointer index. The byte buffer replaces the
    DbKiBuf, IntKiBuf, and ReKiBuf and packs all data as bytes (int8) using
    the `transfer` intrinsic. As each pointer is encountered in any
    structure, `c_loc` is used to get the address and the pointer index
    in PackBuffer is searched. If the pointer is found (already encountered
    in another field), then the exisitng index is saved into the buffer;
    otherwise, the pointer is added to the index and the new index is saved
    into the buffer. If the pointer wasn't in the index, then the associated
    data is saved to the buffer. Unpacking is the reverse of this process.
    deslaughter committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    ec24519 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2023

  1. Configuration menu
    Copy the full SHA
    1519db0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e430232 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    82e0079 View commit details
    Browse the repository at this point in the history
  4. Minor Registry cleanup

    deslaughter committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    665e273 View commit details
    Browse the repository at this point in the history
  5. Use next version of setup-python in GH actions

    Also reduce number of simultaneous tests in rtest-OF
    deslaughter committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    75d1e9d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    35af0ba View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7a19921 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    806841d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9e14154 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    0838e5f View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2023

  1. Add default initialization to Registry

    This may be a good idea to initialize fields to default values where
    possible.
    deslaughter committed Jun 16, 2023
    Configuration menu
    Copy the full SHA
    fc69658 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    839dfc3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    25323c6 View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2023

  1. Use Lagrange polynomials to simplify extrap/interp

    This commit changes the extrap/interp routines used by the Registry and
    Mesh to use Lagrange polynomials. This formulation allows for scalar
    coefficients to be calculated and then multiplied by the values/arrays
    to be interpolation. This should significantly reduce the number of
    operations used by these routines.
    deslaughter committed Jun 17, 2023
    Configuration menu
    Copy the full SHA
    b0f90a7 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2023

  1. Remove testing code from InflowWind_Driver

    This code was unintentionally left in from developing the new
    pack/unpack functionality for the registry.
    deslaughter committed Jun 20, 2023
    Configuration menu
    Copy the full SHA
    213affb View commit details
    Browse the repository at this point in the history