34#ifndef FGACCELERATIONS_H
35#define FGACCELERATIONS_H
116 bool Run(
bool Holding)
override;
189 double GetUVWdot(
int idx)
const {
return vUVWdot(idx); }
233 double GetPQRdot(
int axis)
const {
return vPQRdot(axis);}
247 double GetMoments(
int idx)
const {
return in.Moment(idx) + vFrictionMoments(idx); }
261 double GetForces(
int idx)
const {
return in.Force(idx) + vFrictionForces(idx); }
373 void CalculatePQRdot(
void);
374 void CalculateUVWdot(
void);
376 void CalculateFrictionForces(
double dt);
379 void Debug(
int from)
override;
~FGAccelerations()
Destructor.
FGColumnVector3 GetForces(void) const
FGColumnVector3 GetGroundMoments(void) const
double GetPQRdot(int axis) const
Retrieves a body frame angular acceleration component.
bool InitModel(void) override
Initializes the FGAccelerations class after instantiation and prior to first execution.
double GetGroundMoments(int idx) const
Retrieves the ground moments applied on the body.
double GetUVWdot(int idx) const
Retrieves a body frame acceleration component.
void InitializeDerivatives(void)
Initializes the FGAccelerations class prior to a new execution.
double GetForces(int idx) const
Retrieves the total forces applied on the body.
double GetBodyAccel(int idx) const
Retrieves a component of the acceleration resulting from the applied forces.
FGColumnVector3 GetMoments(void) const
struct JSBSim::FGAccelerations::Inputs in
const FGColumnVector3 & GetUVWidot(void) const
Retrieves the body axis acceleration in the ECI frame.
void SetHoldDown(bool hd)
Sets the property forces/hold-down.
const FGColumnVector3 & GetBodyAccel(void) const
Retrieves the acceleration resulting from the applied forces.
double GetMoments(int idx) const
Retrieves a component of the total moments applied on the body.
double GetWeight(int idx) const
Retrieves the weight applied on the body.
const FGColumnVector3 & GetPQRidot(void) const
Retrieves the axis angular acceleration vector in the ECI frame.
const FGColumnVector3 & GetUVWdot(void) const
Retrieves the body axis acceleration.
double GetGravAccelMagnitude(void) const
bool Run(bool Holding) override
Runs the state propagation model; called by the Executive Can pass in a value indicating if the execu...
FGColumnVector3 GetGroundForces(void) const
double GetGroundForces(int idx) const
Retrieves the ground forces applied on the body.
FGColumnVector3 GetWeight(void) const
FGAccelerations(FGFDMExec *Executive)
Constructor.
const FGColumnVector3 & GetPQRdot(void) const
Retrieves the body axis angular acceleration vector.
This class implements a 3 element column vector.
Handles matrix math operations.
FGModel(FGFDMExec *)
Constructor.