-
Notifications
You must be signed in to change notification settings - Fork 458
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
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
@gantech Can you merge with |
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. |
|
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. |
MDv2-farm, merge from OF dev and some updates
Updated to work with Flang on Crusher
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)
Fix issues to get C++ API to run
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.