MoorDyn
Typedefs | Functions
Rod.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 __MoorDynRod * MoorDynRod
 A mooring line instance.
 

Functions

int DECLDIR MoorDyn_GetRodID (MoorDynRod l, int *id)
 Get the line identifier. More...
 
int DECLDIR MoorDyn_GetRodType (MoorDynRod l, int *t)
 Get the line type. More...
 
int DECLDIR MoorDyn_GetRodForce (MoorDynRod l, double f[6])
 Get the net force acting on the rod, as well as the moment at end point A if the node is not pinned. More...
 
int DECLDIR MoorDyn_GetRodM (MoorDynRod l, double m[6][6])
 Get the total rod mass matrix. More...
 
int DECLDIR MoorDyn_GetRodN (MoorDynRod l, unsigned int *n)
 Get the line number of segments. More...
 
int DECLDIR MoorDyn_GetRodNumberNodes (MoorDynRod l, unsigned int *n)
 Get the line number of nodes. More...
 
int DECLDIR MoorDyn_GetRodNodePos (MoorDynRod l, unsigned int i, double pos[3])
 Get a rod node position. More...
 
int DECLDIR MoorDyn_GetRodNodeVel (MoorDynRod l, unsigned int i, double vel[3])
 Get a rod node velocity. More...
 
int DECLDIR MoorDyn_SaveRodVTK (MoorDynRod l, const char *filename)
 Save the line to a VTK (.vtu) file. More...
 

Detailed Description

C API for the moordyn::Rod object