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

Public Member Functions

 CSaturation (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 Attributes

ISignalPort * m_Input
 
double * m_Signal
 
int m_iPortWidth
 
double * m_MaxVals
 
double * m_MinVals
 

Member Data Documentation

◆ m_iPortWidth

int CSaturation::m_iPortWidth
protected

The number of elements in the input and output ports

◆ m_MaxVals

double* CSaturation::m_MaxVals
protected

The upper saturation value with size 1 (scalar saturation) or <PortWidth> (individual component saturation)

◆ m_MinVals

double* CSaturation::m_MinVals
protected

The lower saturation value with size 1 (scalar saturation) or <PortWidth> (individual component saturation


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