Marine systems simulation
ice::CIceFloe Class Reference
+ Inheritance diagram for ice::CIceFloe:
+ Collaboration diagram for ice::CIceFloe:

Classes

class  AABB
 
struct  AABBSpec
 
struct  m_PolyplateSpec
 
struct  m_SurfaceSpec
 
struct  ObjectSpec
 

Public Member Functions

EIGEN_MAKE_ALIGNED_OPERATOR_NEW CIceFloe (std::string sSimObjectName, ISimObjectCreator *pCreator)
 
virtual void FinalSetup (const double dT, const double *const adX, ISimObjectCreator *const pCreator)
 
virtual void OdeFcn (const double dT, const double *const adX, double *const adXDot, const bool bIsMajorTimeStep)
 Calculates the state derivatives.
 
virtual vec6 GetInternalForces (const vec6 &dX, const vec3 &r, const quat &q, CEnvironment *environment, double time, const double *states)
 
virtual mat6 GetInertiaMatrix (const vec3 &r, const quat &q, const double dT, const double *const adX)
 
virtual vec13 GetSecondDerivative (const vec3 &r, const quat &q, const vec3 &v, const vec3 w, const vec6 &externalForces, CEnvironment *environment, double time, const double *states)
 
virtual vec6 CalcHydroforcesPolyplate (const vec6 &dX, const vec3 &r, const quat &q, CEnvironment *environment, double time, const double *states)
 
virtual vec6 CalContactForce (const vec3 &r, const quat &q, const double dT, const double *const adX)
 
virtual int rayTri (const vec3 &V1, const vec3 &V2, const vec3 &V3, const vec3 &O, const vec3 &D, double &out)
 
virtual double GaussianFun (double &x, double &muix, double &sigmax, double &y, double &muiy, double &sigmay)
 
virtual double PolyVal (int *&polyxy, double *&gassxy, double *&par, double &parx, double &pary)
 

Static Public Member Functions

static vec6 GetCoriolisForce (const vec6 &dX, const mat6 &Inertia)
 

Protected Member Functions

virtual const double * Position (const double dT, const double *const adX)
 
virtual const double * Velocity (const double dT, const double *const adX)
 
virtual const double * Quater (const double dT, const double *const adX)
 
virtual const double * LocalVel (const double dT, const double *const adX)
 
virtual const double * AngVel (const double dT, const double *const adX)
 
virtual const double * ContactForce (const double dT, const double *const adX)
 
virtual const double * Test (const double dT, const double *const adX)
 

Static Protected Member Functions

static mat6 ReorientInertiaTranslateRotate (const mat6 &Inertia, const vec6 &orientation)
 Testing parameters.
 
static mat3 MakeDyadic (const vec3 &vector)
 
static mat3 GetRotation (const vec3 &angle)
 
static mat6 GetRotation6 (const vec3 &angle)
 

Protected Attributes

ISignalPort * m_pInMoment
 A pointer to the input moment.
 
ISignalPort * m_pInForce
 A pointer to the input force.
 
int m_IStatePos
 Index of the global position in the state vector.
 
int m_IStateQuater
 Index of the quaternions in the state vector.
 
int m_IStateLocalVel
 Index of the local velocity in the state vector.
 
int m_IStateOmega
 Index of the local angular velocity in the state vector.
 
m_PolyplateSpec m_spec0
 The specification of the ice floe.
 
double m_adVelGlobal [3]
 The global velocity.
 
double m_dragxy
 The drag coefficient xy.
 
double m_dragz
 The drag coefficient z.
 
CEnvironmentm_Environment
 
double m_ContactForce [3]
 Pointer to DeepSeaGravityWaves -> CEnvironment.
 
mat6 m_DampMatrix
 The contact force.
 
mat6 m_AddedMass
 Damping matrix.
 
double m_A33
 Added mass matrix.
 
quat m_qc
 
vec6 m_Acc
 Global to local Quaternion.
 
double m_rA33
 Acceleration.
 
int m_dCylinder
 
int m_dPressure
 
int m_tmesh
 Mesh size to thickness ratio.
 
int m_wmesh
 
int m_hmesh
 
double m_dmesh
 
double m_hdmesh
 
int m_contact
 
double m_psize
 
double m_hsize
 
double m_ikns
 
double m_iknv
 
double m_ikts
 
double m_imui
 
double m_icst
 
double m_carea
 
ObjectSpec m_objectA
 
vec3 m_locA
 
ObjectSpec m_objectB
 
double * m_objectBP0
 
int m_ABNumA
 
AABBSpecm_ABSpecA
 
AABB m_BOXA
 
AABBm_BOXAI
 
int m_ABNumB
 
AABBSpecm_ABSpecB
 
AABB m_BOXB
 
AABBm_BOXBI
 
int m_itsNum
 
double m_itsPoints [1000][3]
 
double m_ictr
 
struct ice::CIceFloe::m_SurfaceSpec m_surface [12]
 
double m_test [100]
 

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