Marine systems simulation
CAttractorNetBin.h
1
9
10#ifndef CAttractorNetBin_H
11#define CAttractorNetBin_H
12
13#include "CAttractorBase.h"
14
15
17{
18public:
20 void SetParams(const double dRadius, const double dSpringStiffness, const double dDamping);
21 void AddForce(double * const adForce, const double* const adNodePos, const double* const adNodeVel);
22 void SetForceIfActive(double * const adForce, const double* const adNodePos, const double* const adNodeVel);
23 void GetForce(double * const adForce, const double* const adNodePos, const double* const adNodeVel);
24 void AddForce(double * const adForce, const double dNodeMass, const double* const adNodePos, const double* const adNodeVel);
25 bool IsActive(const double* const adNodePos);
26
27protected:
28 double m_dRadius;
29 double m_dSpringStiffness;
30 double m_dDamping;
31};
32
33
34#endif
Class modelling the interface of a general attractor.
Definition: CAttractorBase.h:17
A basic attractor for simulating a net bin during deployment.
Definition: CAttractorNetBin.h:17