Marine systems simulation
rigidbody::CRigidCompositeBody Class Reference
+ Inheritance diagram for rigidbody::CRigidCompositeBody:
+ Collaboration diagram for rigidbody::CRigidCompositeBody:

Classes

struct  rbody
 

Public Member Functions

void AddComponent (CRigidBody *component, const vec6 &orientation)
 
mat6 GetInertiaMatrix (const vec3 &r, double time, const double *states, CEnvironment *environment)
 
vec6 GetInternalForces (const vec6 &dX, const vec3 &r, const quat &q, CEnvironment *environment, double time, const double *states)
 
- Public Member Functions inherited from rigidbody::CRigidBody
virtual vec6 GetInternalForces (const vec6 &dX, const vec3 &r, const quat &q, CEnvironment *environment, double time, const double *states)=0
 
virtual mat6 GetInertiaMatrix (const vec3 &r, double time, const double *states, CEnvironment *environment)=0
 
vec13 GetSecondDerivative (const vec3 &r, const quat &q, const vec3 &v, const vec3 w, const vec6 &externalForces, CEnvironment *environment, double time, const double *states)
 

Protected Attributes

list< rbody, Eigen::aligned_allocator< rbody > > clist
 
mat6 m_inertia
 

Additional Inherited Members

- Static Public Member Functions inherited from rigidbody::CRigidBody
static vec6 GetCoriolisForce (const vec6 &dX, const mat6 &Inertia)
 
static mat6 ReorientInertiaTranslateRotate (const mat6 &Inertia, const vec6 &orientation)
 
static mat3 MakeDyadic (const vec3 &vector)
 
static mat3 GetRotation (const vec3 &angle)
 
static mat6 GetRotation6 (const vec3 &angle)
 

Member Function Documentation

◆ GetInertiaMatrix()

mat6 rigidbody::CRigidCompositeBody::GetInertiaMatrix ( const vec3 &  r,
double  time,
const double *  states,
CEnvironment environment 
)
virtual

Implements rigidbody::CRigidBody.

◆ GetInternalForces()

vec6 rigidbody::CRigidCompositeBody::GetInternalForces ( const vec6 &  dX,
const vec3 &  r,
const quat &  q,
CEnvironment environment,
double  time,
const double *  states 
)
virtual

Implements rigidbody::CRigidBody.


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