Marine systems simulation
CLowPass.h
1#ifndef CLowPass_H
2#define CLowPass_H
3
55#include <SimObject.h>
56
57class CLowPass : public SimObject
58{
59 public:
61 CLowPass(std::string sSimObjectName, ISimObjectCreator* pCreator);
62 ~CLowPass();
63
64 void InitialConditionSetup(const double T, const double* const currentIC, double* const updatedIC, ISimObjectCreator* const creator);
65
66 void OdeFcn(const double dT, const double* const adX, double* const adXDot, const bool bIsMajorTimeStep);
67
68 const double* Output(const double T, const double* const X);
69
70
71#ifdef FH_VISUALIZATION
73 virtual void RenderInit(Ogre::Root* const ogreRoot, ISimObjectCreator* const creator) { }
74
76 virtual void RenderUpdate(const double T, const double* const X) { }
77#endif
78
79 protected:
80 int m_iPortWidth;
81 bool m_bIsUniform;
82 ISignalPort* m_Input;
83 double* m_dConvergenceTimeConstantInv;
84 int m_current_signal;
85};
86
87
88#endif
Definition: CLowPass.h:58
CLowPass(std::string sSimObjectName, ISimObjectCreator *pCreator)
The constructor sets the pointer to the output object and the parser object.
virtual void RenderUpdate(const double T, const double *const X)
The rendering is not used.
Definition: CLowPass.h:76
virtual void RenderInit(Ogre::Root *const ogreRoot, ISimObjectCreator *const creator)
The rendering is not used.
Definition: CLowPass.h:73