@return a string containing the numeric values for the current set of
coefficients */
string GetCoefficientValues(void);
+
+ inline FGCoefficient* GetCoefficient(string name) { return cm[name]; }
- /// Gets the Normal Load Factor
- double GetNlf(void);
private:
typedef map<string,int> AxisIndex;
AxisIndex AxisIdx;
typedef vector<FGCoefficient*> CoeffArray;
CoeffArray* Coeff;
+ typedef map<string,FGCoefficient*> CoeffMap;
+ CoeffMap cm;
FGColumnVector3 vFs;
FGColumnVector3 vForces;
FGColumnVector3 vMoments;
FGColumnVector3 vLastFs;
FGColumnVector3 vDXYZcg;
- void Debug(void);
+ void Debug(int from);
};
//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%