Marine systems simulation
CoRiBoDynamics::EnvironmentForces Class Reference
+ Inheritance diagram for CoRiBoDynamics::EnvironmentForces:
+ Collaboration diagram for CoRiBoDynamics::EnvironmentForces:

Classes

struct  CableSegment
 
struct  ClumpWeight
 
struct  TrawlDoor
 

Public Member Functions

 EnvironmentForces (ConstraintSolver *solver, double timeConstant)
 
void AddNewCableSegment (CableSegment cable)
 
void ComputeConstraints (const double T, const double *const X)
 
void AddTrawlDoor (TrawlDoor Door)
 
void AddClumpWeight (ClumpWeight Weight)
 
void setEnvironmentPointer (CEnvironment *environment)
 
- Public Member Functions inherited from CoRiBoDynamics::ConstraintSet
 ConstraintSet (ConstraintSolver *solver)
 
virtual void ComputeConstraints (const double T, const double *const X)=0
 

Protected Attributes

std::vector< CableSegmentm_Cables
 
std::vector< TrawlDoorm_TrawlDoors
 
std::vector< ClumpWeightm_ClumpWeights
 
double m_timeConstant
 
CEnvironmentm_environment
 

Additional Inherited Members

- Protected Member Functions inherited from CoRiBoDynamics::ConstraintSet
const std::vector< RigidElement * > & ElementVector ()
 
void addConstraintResultantForce (int element, const vec6 &Force)
 
const vec3 Acceleration (int element)
 
const vec3 AngularAcceleration (int element)
 
const vec6 SecondDerivatives (int element)
 
void addMatrix (int i, int j, const mat6 &M)
 

Member Function Documentation

◆ ComputeConstraints()

void CoRiBoDynamics::EnvironmentForces::ComputeConstraints ( const double  T,
const double *const  X 
)
virtual

Computes and returns the constraint system matrix for the current states (T and X). Adds constraint forces.

Implements CoRiBoDynamics::ConstraintSet.


The documentation for this class was generated from the following file: