MoorDyn
Typedefs | Functions
Body.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct __MoorDynBody * MoorDynBody
 A mooring line instance.
 

Functions

int DECLDIR MoorDyn_GetBodyID (MoorDynBody b, int *id)
 Get the body identifier. More...
 
int DECLDIR MoorDyn_GetBodyType (MoorDynBody b, int *t)
 Get the point type. More...
 
int DECLDIR MoorDyn_GetBodyState (MoorDynBody b, double r[6], double rd[6])
 Get the body state. More...
 
int DECLDIR MoorDyn_GetBodyPos (MoorDynBody b, double r[3])
 Get the body position. More...
 
int DECLDIR MoorDyn_GetBodyAngle (MoorDynBody b, double r[3])
 Get the body angle. More...
 
int DECLDIR MoorDyn_GetBodyVel (MoorDynBody b, double rd[3])
 Get the body velocity. More...
 
int DECLDIR MoorDyn_GetBodyAngVel (MoorDynBody b, double rd[3])
 Get the body angular velocity. More...
 
int DECLDIR MoorDyn_GetBodyForce (MoorDynBody b, double f[6])
 Get the body angular velocity. More...
 
int DECLDIR MoorDyn_GetBodyM (MoorDynBody b, double m[6][6])
 Get the body mass and intertia matrix. More...
 
int DECLDIR MoorDyn_SaveBodyVTK (MoorDynBody b, const char *filename)
 Save the point to a VTK (.vtu) file. More...
 

Detailed Description

C API for the moordyn::Body object