|
MoorDyn
|
#include "MoorDynAPI.h"

Go to the source code of this file.
Functions | |
| int DECLDIR | MoorDynInit (const double x[], const double xd[], const char *infilename) |
| initializes MoorDyn More... | |
| int DECLDIR | MoorDynStep (const double x[], const double xd[], double f[], double *t, double *dt) |
| Runs a time step of the MoorDyn system. More... | |
| int DECLDIR | MoorDynClose (void) |
| Releases MoorDyn allocated resources. More... | |
| int DECLDIR | externalWaveKinInit () |
| Initializes the external Wave kinetics. More... | |
| void DECLDIR | getWaveKinCoordinates (double r_out[]) |
| Get the points where the waves kinematics shall be provided. More... | |
| void DECLDIR | setWaveKin (const double U_in[], const double Ud_in[], double t_in) |
| Set the kinematics of the waves. More... | |
| double DECLDIR | GetFairTen (int) |
| int DECLDIR | GetFASTtens (int *numLines, float FairHTen[], float FairVTen[], float AnchHTen[], float AnchVTen[]) |
| int DECLDIR | GetPointPos (int l, double pos[3]) |
| int DECLDIR | GetPointForce (int l, double force[3]) |
| int DECLDIR | GetNodePos (int LineNum, int NodeNum, double pos[3]) |
| void DECLDIR | AllOutput (double, double) |
| void DECLDIR | SetDisableConsole (int disable) |
| Set the variable to disable the console window. More... | |
Old API for compatibility with the previous versions of MoorDyn
Both the input files and some function names have been redesigned, so the code will not be totally backward compatible.
The usage of this API is anyway strongly discouraged, please consider migrating to the v2 API in MoorDyn2.h