Marine systems simulation
PreprocessData.h
1
11
12#ifndef PreprocessData_H
13#define PreprocessData_H
14
15#include "SimObject.h"
16#include <Eigen/Eigen>
17
18class PreprocessData : public SimObject
19{
20public:
22 PreprocessData(std::string sSimObjectName, ISimObjectCreator* pCreator);
24
26 void OdeFcn(const double T, const double* const X, double* const XDot, const bool bIsMajorTimeStep);
27
28 const double* OutData(const double T, const double * const X, int i);
29
30#ifdef FH_VISUALIZATION
32 virtual void RenderInit(Ogre::Root* const ogreRoot, ISimObjectCreator* const creator){}
33
35 virtual void RenderUpdate(const double T, const double* const X){}
36#endif
37protected:
38 int m_InDataNum;
39 ISignalPort** m_InData;
40 double* m_OutData;
41 double* m_Tol;
42 double* m_Pow;
43};
44#endif
Definition: PreprocessData.h:19
void OdeFcn(const double T, const double *const X, double *const XDot, const bool bIsMajorTimeStep)
Calculates the state derivatives.
PreprocessData(std::string sSimObjectName, ISimObjectCreator *pCreator)
Constructor.