AGX Dynamics  2.35.0.1
agxModel::WindAndWaterController::DynamicsData Struct Reference

Data for rigid body with aero/hydro static/dynamic forces and added mass and inertia matrices. More...

#include <WindAndWaterController.h>

Public Member Functions

 DynamicsData ()
 
void getAddedMassAndInertiaDiagonalCoefficients (const agx::RigidBody *rb, agx::Vec3 &addedMassDiagonalCoefficients, agx::Vec3 &addedInertiaDiagonalCoefficients) const
 Calculate the diagonal coefficients given the added mass/inertia matrices have been calculated given rb. More...
 

Public Attributes

agx::Matrix3x3 bodyFrameAddedInertia
 
agx::Matrix3x3 bodyFrameAddedMass
 
agx::Vec3 worldForce
 
agx::Vec3 worldTorque
 

Detailed Description

Data for rigid body with aero/hydro static/dynamic forces and added mass and inertia matrices.

Note that the

Definition at line 462 of file WindAndWaterController.h.

Constructor & Destructor Documentation

◆ DynamicsData()

agxModel::WindAndWaterController::DynamicsData::DynamicsData ( )
inline

Definition at line 464 of file WindAndWaterController.h.

Member Function Documentation

◆ getAddedMassAndInertiaDiagonalCoefficients()

void agxModel::WindAndWaterController::DynamicsData::getAddedMassAndInertiaDiagonalCoefficients ( const agx::RigidBody *  rb,
agx::Vec3 &  addedMassDiagonalCoefficients,
agx::Vec3 &  addedInertiaDiagonalCoefficients 
) const

Calculate the diagonal coefficients given the added mass/inertia matrices have been calculated given rb.

Parameters
rb- rigid body this dynamics data is assumed to belong to
[out]addedMassDiagonalCoefficients- diagonal coefficients 'c', where M_final = (1 + c) * M_original
[out]addedInertiaDiagonalCoefficients- diagonal coefficients 'c', where I_final = (1 + c) * I_original

Member Data Documentation

◆ bodyFrameAddedInertia

agx::Matrix3x3 agxModel::WindAndWaterController::DynamicsData::bodyFrameAddedInertia

Definition at line 478 of file WindAndWaterController.h.

◆ bodyFrameAddedMass

agx::Matrix3x3 agxModel::WindAndWaterController::DynamicsData::bodyFrameAddedMass

Definition at line 477 of file WindAndWaterController.h.

◆ worldForce

agx::Vec3 agxModel::WindAndWaterController::DynamicsData::worldForce

Definition at line 475 of file WindAndWaterController.h.

◆ worldTorque

agx::Vec3 agxModel::WindAndWaterController::DynamicsData::worldTorque

Definition at line 476 of file WindAndWaterController.h.


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