#define DECLDIR
Prefix to export C functions on the compiled library.
Definition: MoorDynAPI.h:68
struct __MoorDynRod * MoorDynRod
A mooring line instance.
Definition: Rod.h:48
int DECLDIR MoorDyn_GetRodType(MoorDynRod l, int *t)
Get the line type.
Definition: Rod.cpp:1737
int DECLDIR MoorDyn_GetRodN(MoorDynRod l, unsigned int *n)
Get the line number of segments.
Definition: Rod.cpp:1763
int DECLDIR MoorDyn_SaveRodVTK(MoorDynRod l, const char *filename)
Save the line to a VTK (.vtu) file.
Definition: Rod.cpp:1809
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.
Definition: Rod.cpp:1745
int DECLDIR MoorDyn_GetRodID(MoorDynRod l, int *id)
Get the line identifier.
Definition: Rod.cpp:1729
int DECLDIR MoorDyn_GetRodNodePos(MoorDynRod l, unsigned int i, double pos[3])
Get a rod node position.
Definition: Rod.cpp:1781
int DECLDIR MoorDyn_GetRodNumberNodes(MoorDynRod l, unsigned int *n)
Get the line number of nodes.
Definition: Rod.cpp:1771
int DECLDIR MoorDyn_GetRodM(MoorDynRod l, double m[6][6])
Get the total rod mass matrix.
Definition: Rod.cpp:1754
int DECLDIR MoorDyn_GetRodNodeVel(MoorDynRod l, unsigned int i, double vel[3])
Get a rod node velocity.
Definition: Rod.cpp:1795