Cpp library gluecode#20
Merged
Merged
Conversation
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.
CMake updates
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
…mory for all tubines
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
…equirement from openfastcpplib
Contributor
|
@gantech Can you merge with |
Collaborator
Author
|
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. |
Contributor
|
|
sayerhs
approved these changes
Apr 26, 2017
Collaborator
Author
|
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. |
Closed
Closed
andrew-platt
referenced
this pull request
in andrew-platt/openfast
Apr 19, 2022
MDv2-farm, merge from OF dev and some updates
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.