Marine systems simulation
IntegratorRemoveMean.h
1
11
12#ifndef IntegratorRemoveMean_H
13#define IntegratorRemoveMean_H
14
42#include <string>
43#include "SimObject.h"
44
45class IntegratorRemoveMean : public SimObject
46{
47public:
49 IntegratorRemoveMean(std::string sSimObjectName, ISimObjectCreator* pCreator );
50
52 void OdeFcn(const double dT, const double* const adX, double* const adXDot, const bool bIsMajorTimeStep);
53
54 const double * Output( const double T, const double * const X);
55 const double * OutputMean(const double T, const double * const X);
56
57 void InitialConditionSetup(const double T, const double *const currentIC, double* const updatedIC, ISimObjectCreator* const creator);
58
59#ifdef FH_VISUALIZATION
61 virtual void RenderInit(Ogre::Root* const ogreRoot, ISimObjectCreator* const creator){}
62
64 virtual void RenderUpdate(const double T, const double* const X){}
65#endif
66
67protected:
68 ISignalPort *m_IcPort;
69 ISignalPort *m_Input;
70 int m_StateIndex;
73
74 int m_MeanNum;
75 double* m_MeanVal;
76 double m_NoiseVal;
77 double m_InitialTime;
78 double* m_InitialVal;
79 double m_InitialRate;
80};
81#endif
Definition: IntegratorRemoveMean.h:46
int m_iPortWidth
Definition: IntegratorRemoveMean.h:72
IntegratorRemoveMean(std::string sSimObjectName, ISimObjectCreator *pCreator)
Constructor.