#include <string>
#include "FGConfigFile.h"
#include "FGDefs.h"
+#include "FGTable.h"
/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
DEFINITIONS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
-#define ID_COEFFICIENT "$Header"
+#define ID_COEFFICIENT "$Id$"
using std::vector;
string name;
string method;
float StaticValue;
- float **Table;
eParam LookupR, LookupC;
MultVec multipliers;
int rows, columns;
Type type;
float SD; // Actual stability derivative (or other coefficient) value
+ FGTable *Table;
FGFDMExec* FDMExec;
FGState* State;
FGPosition* Position;
FGAuxiliary* Auxiliary;
FGOutput* Output;
-
- bool DeAllocate(void);
- bool Allocate(int, int);
public:
FGCoefficient(FGFDMExec*, FGConfigFile*);
- ~FGCoefficient(void);
-
+ ~FGCoefficient();
+
float Value(float, float);
float Value(float);
float Value(void);
inline float GetSD(void) {return SD;}
inline MultVec Getmultipliers(void) {return multipliers;}
void DumpSD(void);
-
+private:
+ void Debug(void);
};
//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
#endif
+