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

Cpp library gluecode #20

Merged
merged 27 commits into from
May 5, 2017
Merged

Conversation

gantech
Copy link
Collaborator

@gantech gantech commented Apr 24, 2017

This pull request adds a FAST - C++ interface and a sample driver program to illustrate the use of this class. This mostly does not modify the existing code except for some additions to the InitOut data of Aerodyn and ElastoDyn modules.

gantech and others added 22 commits March 23, 2017 11:50
Adding a C++ library interface and glue-code
1. Removed the `install.sh` and `doConfig_` files.
2. Removed messages in CMakeLists.txt
3. Consolidated `fast-cpp-library` and `fast-cpp` glue-code into one location. The `fast-cpp` glue-code serves as an example to use the `fast-cpp-library`.
4. Added a namespace `fast` to the `OpenFAST` C++ class.
    - Use find_package for HDF5: provide HDF5_ROOT for custom path, or
      provide HDF5_INCLUDES and HDF5_LIBRARIES directly.

    - Use find_package for YAMLCPP: provide YAML_ROOT for custom path,
      or provide YAML_INCLUDES and YAML_LIBRARIES directly.

    - Replace hard-coded paths with CMAKE variables.
Bugfix for missing controller types library
SuperController_Types is a dependency of FAST_Types, sequence library
building so that the `.mod` file is discovered correctly.
[BUGFIX] Sequence building of SuperController_Types
1. Refactoring algorithm to allow external code to set the processor number for each turbine
2. Allowing for more than one turbine per processor when used as a library
3. Updating restart file to write after FAST_Step rather than before it
Create a CMake configuration file that can be used by other projects to
find OpenFAST and setup appropriate paths and libraries to be linked.
Currently, this will only work from a `make install` target and not from
the build directory directly.
OpenFAST Configuration file
@sayerhs
Copy link
Contributor

sayerhs commented Apr 24, 2017

@gantech Can you merge with dev and then push the conflict resolution? Right now there are conflicts with merge.

@gantech
Copy link
Collaborator Author

gantech commented Apr 24, 2017

Ok. Will try. I think this is due to the fact that I forked off master initially and master being ahead of dev. This pull request merges cleanly with master.

@sayerhs
Copy link
Contributor

sayerhs commented Apr 24, 2017

master and dev were synced, so the only conflict is in the beamdyn/CmakeLists.txt should be a minor fix.

@gantech
Copy link
Collaborator Author

gantech commented Apr 26, 2017

Thanks @sayerhs. This is odd. I only resolved the conflicts I saw on github.

@michaelasprague Could I add to the documentation in another pull request. I'm focused on getting the capability to work with Nalu to run OWEZ soon.

Also.. I have a few more mods based on a discussion with Matt Churchfield yesterday. I'll get those in today as well. Then it should be ready to merge.

@HaymanConsulting HaymanConsulting merged commit 692e3dc into OpenFAST:dev May 5, 2017
@ghost ghost mentioned this pull request Apr 16, 2019
@caroledaniel caroledaniel mentioned this pull request Feb 27, 2020
@HYFOAM HYFOAM mentioned this pull request Nov 29, 2020
andrew-platt referenced this pull request in andrew-platt/openfast Apr 19, 2022
MDv2-farm, merge from OF dev and some updates
rafmudaf pushed a commit that referenced this pull request Sep 20, 2022
deslaughter pushed a commit to deslaughter/openfast that referenced this pull request Apr 21, 2023
Updated to work with Flang on Crusher
deslaughter added a commit to deslaughter/openfast that referenced this pull request Apr 21, 2023
The functions that were removed were for QuKi floating point numbers
which were removed in the last PR (OpenFAST#20). The corresponding interfaces
were missed. This also fixes a couple of functions which were passed
the wrong type of float (SiKi vs R8Ki)
andrew-platt added a commit that referenced this pull request Dec 15, 2023
Fix issues to get C++ API to run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants