34 #ifndef FGGROUNDREACTIONS_H
35 #define FGGROUNDREACTIONS_H
43 #include "FGSurface.h"
46 #include "math/FGColumnVector3.h"
85 bool InitModel(
void)
override;
93 bool Run(
bool Holding)
override;
94 bool Load(
Element* el)
override;
96 double GetForces(
int idx)
const {
return vForces(idx);}
98 double GetMoments(
int idx)
const {
return vMoments(idx);}
99 std::string GetGroundReactionStrings(std::string delimeter)
const;
100 std::string GetGroundReactionValues(std::string delimeter)
const;
101 bool GetWOW(
void)
const;
120 void RegisterLagrangeMultiplier(
LagrangeMultiplier* lmult) { multipliers.push_back(lmult); }
121 std::vector <LagrangeMultiplier*>* GetMultipliersList(
void) {
return &multipliers; }
126 std::vector <FGLGear*> lGear;
127 FGColumnVector3 vForces;
128 FGColumnVector3 vMoments;
129 std::vector <LagrangeMultiplier*> multipliers;
133 void Debug(
int from)
override;