MoorDyn
Typedefs | Functions
Line.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 __MoorDynLine * MoorDynLine
 A mooring line instance.
 

Functions

int DECLDIR MoorDyn_GetLineID (MoorDynLine l, int *id)
 Get the line identifier. More...
 
int DECLDIR MoorDyn_GetLineN (MoorDynLine l, unsigned int *n)
 Get the line number of segments. More...
 
int DECLDIR MoorDyn_GetLineNumberNodes (MoorDynLine l, unsigned int *n)
 Get the line number of nodes. More...
 
int DECLDIR MoorDyn_GetLineUnstretchedLength (MoorDynLine l, double *ul)
 Get the line unstretched length. More...
 
int DECLDIR MoorDyn_SetLineUnstretchedLength (MoorDynLine l, double ul)
 Set the line unstretched length. More...
 
int DECLDIR MoorDyn_SetLineUnstretchedLengthVel (MoorDynLine l, double v)
 Set the line unstretched length rate of change. More...
 
int DECLDIR MoorDyn_IsLineConstantEA (MoorDynLine l, int *b)
 Get whether the line is governed by a non-linear stiffness or a constant one. More...
 
int DECLDIR MoorDyn_GetLineConstantEA (MoorDynLine l, double *EA)
 Get the constant stiffness of the line. More...
 
int DECLDIR MoorDyn_SetLineConstantEA (MoorDynLine l, double EA)
 Set the constant stiffness of the line. More...
 
int DECLDIR MoorDyn_IsLinePressBend (MoorDynLine l, int *b)
 Get whether the line pressure bending is considered or not. More...
 
int DECLDIR MoorDyn_SetLinePressBend (MoorDynLine l, int b)
 Set whether the line pressure bending is considered or not. More...
 
int DECLDIR MoorDyn_SetLinePressInt (MoorDynLine l, const double *p)
 Set the line internal pressure values at the nodes. More...
 
int DECLDIR MoorDyn_GetLineNodePos (MoorDynLine l, unsigned int i, double pos[3])
 Get a line node position. More...
 
int DECLDIR MoorDyn_GetLineNodeVel (MoorDynLine l, unsigned int i, double vel[3])
 Get a line node velocity. More...
 
int DECLDIR MoorDyn_GetLineNodeForce (MoorDynLine l, unsigned int i, double f[3])
 Get a line node force. More...
 
int DECLDIR MoorDyn_GetLineNodeTen (MoorDynLine l, unsigned int i, double t[3])
 Get a line node tension. More...
 
int DECLDIR MoorDyn_GetLineNodeBendStiff (MoorDynLine l, unsigned int i, double t[3])
 Get a line node bending stiffness force. More...
 
int DECLDIR MoorDyn_GetLineNodeWeight (MoorDynLine l, unsigned int i, double f[3])
 Get a line node weight and bouyancy. More...
 
int DECLDIR MoorDyn_GetLineNodeDrag (MoorDynLine l, unsigned int i, double f[3])
 Get a line node drag force. More...
 
int DECLDIR MoorDyn_GetLineNodeFroudeKrilov (MoorDynLine l, unsigned int i, double f[3])
 Get a line node Froude Krilov force. More...
 
int DECLDIR MoorDyn_GetLineNodeSeabedForce (MoorDynLine l, unsigned int i, double f[3])
 Get a line node seabed reaction. More...
 
int DECLDIR MoorDyn_GetLineNodeCurv (MoorDynLine l, unsigned int i, double *c)
 Get a line curvature at a node. More...
 
int DECLDIR MoorDyn_GetLineNodeM (MoorDynLine l, unsigned int i, double m[3][3])
 Get a line node mass matrix. More...
 
int DECLDIR MoorDyn_GetLineFairTen (MoorDynLine l, double *t)
 Get the tension module at the end point B (the fairlead) More...
 
int DECLDIR MoorDyn_GetLineMaxTen (MoorDynLine l, double *t)
 Get the maximum tension module. More...
 
int DECLDIR MoorDyn_SaveLineVTK (MoorDynLine l, const char *filename)
 Save the line to a VTK (.vtu) file. More...
 

Detailed Description

C API for the moordyn::Line object