76 MoorDynInit(
const double x[],
const double xd[],
const char* infilename);
133 setWaveKin(
const double U_in[],
const double Ud_in[],
double t_in);
139 GetFASTtens(
int* numLines,
146 GetPointPos(
int l,
double pos[3]);
148 GetPointForce(
int l,
double force[3]);
150 GetNodePos(
int LineNum,
int NodeNum,
double pos[3]);
153 AllOutput(
double,
double);
#define DECLDIR
Prefix to export C functions on the compiled library.
Definition: MoorDynAPI.h:68
void DECLDIR getWaveKinCoordinates(double r_out[])
Get the points where the waves kinematics shall be provided.
Definition: MoorDyn.cpp:223
int DECLDIR MoorDynStep(const double x[], const double xd[], double f[], double *t, double *dt)
Runs a time step of the MoorDyn system.
Definition: MoorDyn.cpp:169
void DECLDIR setWaveKin(const double U_in[], const double Ud_in[], double t_in)
Set the kinematics of the waves.
Definition: MoorDyn.cpp:233
int DECLDIR externalWaveKinInit()
Initializes the external Wave kinetics.
Definition: MoorDyn.cpp:207
void DECLDIR SetDisableConsole(int disable)
Set the variable to disable the console window.
Definition: MoorDyn.cpp:303
int DECLDIR MoorDynInit(const double x[], const double xd[], const char *infilename)
initializes MoorDyn
Definition: MoorDyn.cpp:89
int DECLDIR MoorDynClose(void)
Releases MoorDyn allocated resources.
Definition: MoorDyn.cpp:182