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

Public Member Functions

 CMathfunction (std::string sSimObjectName, ISimObjectCreator *pCreator)
 Constructor.
 
virtual void OdeFcn (const double dT, const double *const adX, double *const adXDot, const bool bIsMajorTimeStep)
 
const double * Output (const double T, const double *const X)
 

Protected Types

enum  EMathType {
  MathType_Exp , MathType_Log , MathType_Log10 , MathType_Pow ,
  MathType_Sqrt , MathType_Root
}
 < Enumerator for the kind of mathoperation
 

Protected Attributes

ISignalPort * m_Input1
 
ISignalPort * m_Input2
 
double * m_Signal
 
int m_iPortWidth
 
int m_iNumInports
 Number of Inputports.
 
EMathType m_EMathType
 

Member Data Documentation

◆ m_EMathType

EMathType CMathfunction::m_EMathType
protected

Membervariable, defines the mathoperation, which is

◆ m_iPortWidth

int CMathfunction::m_iPortWidth
protected

The number of elements in the input and output ports


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