34 #ifndef FGEXTERNALREACTIONS_H 35 #define FGEXTERNALREACTIONS_H 43 #include "FGExternalForce.h" 49 #define ID_EXTERNALREACTIONS "$Id: FGExternalReactions.h,v 1.17 2015/02/27 20:36:47 bcoconni Exp $" 132 bool InitModel(
void);
141 bool Run(
bool Holding);
155 double GetForces(
int idx)
const {
return vTotalForces(idx);}
161 double GetMoments(
int idx)
const {
return vTotalMoments(idx);}
165 std::vector <FGExternalForce*> Forces;
173 void Debug(
int from);
bool Load(Element *el)
Loads the external forces from the XML configuration file.
const FGColumnVector3 & GetMoments(void) const
Retrieves the total moment resulting from the forces defined in the external reactions.
const FGColumnVector3 & GetForces(void) const
Retrieves the total forces defined in the external reactions.
FGExternalReactions(FGFDMExec *fdmex)
Constructor.
~FGExternalReactions(void)
Destructor.
Base class for all scheduled JSBSim models.
This class implements a 3 element column vector.
Encapsulates the JSBSim simulation executive.
bool Run(bool Holding)
Sum all the constituent forces for this cycle.
Manages the external and/or arbitrary forces.