11#ifndef AdaptiveDirection_H
12#define AdaptiveDirection_H
21#include "sfh/constants.h"
32 void OdeFcn(
const double dT,
const double*
const adX,
double*
const adXDot,
const bool bIsMajorTimeStep){}
34 const double * Output(
const double T,
const double *
const X);
36 const double * OutputMag(
const double T,
const double *
const X);
38#ifdef FH_VISUALIZATION
40 virtual void RenderInit(Ogre::Root*
const ogreRoot, ISimObjectCreator*
const creator){}
43 virtual void RenderUpdate(
const double T,
const double*
const X){}
52 ISignalPort *m_InRate;
58 ISignalPort *m_InRefMag;
59 ISignalPort *m_InAdaMag;
Definition: AdaptiveDirection.h:25
ISignalPort * m_InRef
Input directions.
Definition: AdaptiveDirection.h:50
std::unique_ptr< double[]> m_Directions
Maximum change to the reference direction.
Definition: AdaptiveDirection.h:48
AdaptiveDirection(std::string sSimObjectName, ISimObjectCreator *pCreator)
Constructor.
void OdeFcn(const double dT, const double *const adX, double *const adXDot, const bool bIsMajorTimeStep)
Calculates the state derivatives.
Definition: AdaptiveDirection.h:32