FhSim  3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
InternalCableWithBottomContact.h
1
10
11#ifndef InternalCableWithBottomContact_H
12#define InternalCableWithBottomContact_H
13
14// Includes
15#include "cable/subroutines/InternalCable.h"
16
17#include <fhsim_environment/SeafloorForcesInterface.h>
18
19// Class definition
21{
22public:
24 InternalCableWithBottomContact(ISimObjectCreator* creator, const SCableSpec& CableSpec);
25
26 virtual void FinalSetup(const double dT, const double* const adX, ISimObjectCreator* const creator);
27
28protected:
29 virtual void AddElementForce(int cableElement,
30 const double adPosA[3],
31 const double adVelA[3],
32 const double adPosB[3],
33 const double adVelB[3],
34 double adForceA[3],
35 double adForceB[3],
36 double dT) const;
37
38
39 environment::EnvironmentProvider* m_environment;
40 environment::SeafloorForcesInterface* m_seafloor;
41};
42
43
44#endif
Class containing a cable object to be part of other structures.
Definition InternalCableWithBottomContact.h:21
InternalCableWithBottomContact(ISimObjectCreator *creator, const SCableSpec &CableSpec)
The constructor sets the pointer to the output object and the parser object.
Definition InternalCable.h:190
Contains some specifications used for simulating cables.
Definition InternalCable.h:33