Marine systems simulation
Pendulum Class Reference
+ Inheritance diagram for Pendulum:
+ Collaboration diagram for Pendulum:

Public Member Functions

 Pendulum (const std::string &simObjectName, ISimObjectCreator *const creator)
 
void OdeFcn (const double T, const double *const X, double *const XDot, const bool IsMajorTimeStep)
 
void InitialConditionSetup (const double T, const double *const currentIC, double *const updatedIC, ISimObjectCreator *const creator)
 

Protected Member Functions

void SetOutputPortValues (const double T, const double *const X)
 
const double * Angle (const double T, const double *const X)
 
const double * AngularVelocity (const double T, const double *const X)
 

Protected Attributes

ICommonComputation * m_SetOutputPortValues
 
int m_AngleIndex
 
int m_AngularVelocityIndex
 
double m_Length
 
double m_Gravity
 
double m_Angle
 
double m_AngularVelocity
 
double m_Origin [3]
 

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