Marine systems simulation
CStep.h
1#ifndef C_SRC_STEP_H
2#define C_SRC_STEP_H
3
59#include "CSrcBase.h"
60#include "SimObject.h"
61
62class CStep : public CSrcBase
63{
64 public:
66 CStep(std::string sSimObjectName, ISimObjectCreator* pCreator);
67 ~CStep();
68
70 void OdeFcn(const double dT, const double* const adX, double* const adXDot, const bool bIsMajorTimeStep){};
71
72 protected:
73 void CalcOutput(const double dT, const double* const adX);
74
83};
84
85
86#endif
Definition: CSrcBase.h:24
Definition: CStep.h:63
double * m_adStopTimes
Definition: CStep.h:82
void CalcOutput(const double dT, const double *const adX)
Calculations of the output signals.
CStep(std::string sSimObjectName, ISimObjectCreator *pCreator)
The constructor sets the pointer to the output object and the parser object.
void OdeFcn(const double dT, const double *const adX, double *const adXDot, const bool bIsMajorTimeStep)
Calculates the state derivatives.
Definition: CStep.h:70
double * m_adStopValues
Definition: CStep.h:78
double * m_adStartValues
Definition: CStep.h:76
double * m_adStartTimes
Definition: CStep.h:80