|
FhSim
3.1.0
Marine systems simulation
|
Class containing a cable element object, allowing for disks and spheres to be connected. More...
#include <NetCableElementTest.h>
Collaboration diagram for NetCableElementTest:Public Member Functions | |
| NetCableElementTest () | |
| The constructor. | |
| NetCableElementTest (const NetCableElementTest *old) | |
| The copy constructor. | |
| NetCableElementTest (const NetCableElementTestSpec *spec) | |
| ~NetCableElementTest () | |
| The destructor. | |
| void | AddEndForces (const double rhoWater, const sfh::linalg::sse_vec3f &posa, const sfh::linalg::sse_vec3f &posb, const sfh::linalg::sse_vec3f &vela, const sfh::linalg::sse_vec3f &velb, const sfh::linalg::sse_vec3f &velf, sfh::linalg::sse_vec3f &forceA, sfh::linalg::sse_vec3f &forceB, double angle) |
| Calculates the end forces on the cable element. | |
| void | SetConstants () |
| Calculates parameters and sets physical constants. | |
| void | CalcMassAndWeight () |
| Calculates the mass and weight of the element in water. | |
| bool | Divide (int aiNodes[2], int newNode, int newElementID, NetCableElementTest **sNewCable) |
| Divides the element in two. | |
| bool | CheckAndInitialize () |
| Does the initialization and checking to make sure that the element is ready for simulation. | |
| void | DeleteSpheresAndDisks () |
| void | AddSpheres (float *adD, float *adMass, float *adPos, std::vector< std::string > VsSphereMaterial, int num) |
| void | AddDisks (float *adD, float *adThickness, float *adMass, float *adPos, std::vector< std::string > VsDiskMaterial, int num) |
| void | AddHydroForcesAppendices (double adForceA[3], double adForceB[3]) |
| Calculates the hydrodynamic forces on spheres and disks attached to the cable. | |
Static Public Member Functions | |
| static void * | operator new (size_t size) |
| static void | operator delete (void *p) |