]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/JSBSim/FGNozzle.h
Removed FGMatrix.* because it is no longer used by JSBSim.
[flightgear.git] / src / FDM / JSBSim / FGNozzle.h
index d8737e0596d8ac53bab1e08d1bc78d042ed7a77e..c0b0b9b5680701081c9b4c5e699185ab8aa1a7e7 100644 (file)
@@ -46,11 +46,6 @@ DEFINITIONS
 
 #define ID_NOZZLE "$Id$";
 
-#ifndef M_PI
-#  include <simgear/constants.h>
-#  define M_PI SG_PI
-#endif
-
 /*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 FORWARD DECLARATIONS
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
@@ -78,17 +73,17 @@ public:
   /// Destructor
   ~FGNozzle();
 
-  float Calculate(float CfPc);
-  float GetPowerRequired(void);
+  double Calculate(double CfPc);
+  double GetPowerRequired(void);
   
 private:
-  float PE;
-  float ExpR;
-  float nzlEff;
-  float Diameter;
-  float AreaT;
-  float Area2;
-  void Debug(void);
+  double PE;
+  double ExpR;
+  double nzlEff;
+  double Diameter;
+  double AreaT;
+  double Area2;
+  void Debug(int from);
 };
 
 //%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%