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

Public Member Functions

 VirtualCurrentDir (std::string sSimObjectName, ISimObjectCreator *pCreator)
 Constructor.
 
void OdeFcn (const double dT, const double *const adX, double *const adXDot, const bool bIsMajorTimeStep)
 Calculates the state derivatives.
 
const double * Output (const double T, const double *const X)
 

Protected Attributes

int m_PortWidth
 
double m_MinimumForce [2]
 The width of the input port.
 
double m_RefDir
 Minimum force.
 
double m_MaxRelDir
 Reference direction.
 
std::unique_ptr< double[]> m_Directions
 Maximum change to the reference direction.
 
ISignalPort * m_InRef
 Input directions.
 
ISignalPort * m_InForce
 
double m_Output
 

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