]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/JSBSim/FGNozzle.h
Fix stall widths for the "auxilliary" (reverse flow) stalls so they
[flightgear.git] / src / FDM / JSBSim / FGNozzle.h
index 7a97261a663edaf656e3b156d0eda722c170c764..d329fa1e167ae8486f146502323c78f4a246bbb8 100644 (file)
@@ -50,16 +50,16 @@ DEFINITIONS
 FORWARD DECLARATIONS
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
-/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-COMMENTS, REFERENCES, and NOTES [use "class documentation" below for API docs]
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
+namespace JSBSim {
 
 /*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 CLASS DOCUMENTATION
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
 /** Models a rocket nozzle.
-    */
+    @author Jon S. Berndt
+    @version $Id$
+*/
 
 /*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 CLASS DECLARATION
@@ -69,23 +69,26 @@ class FGNozzle : public FGThruster {
 
 public:
   /// Constructor
-  FGNozzle(FGFDMExec* exec, FGConfigFile* AC_cfg);
+  FGNozzle(FGFDMExec* exec, FGConfigFile* AC_cfg, int num = 0);
   /// Destructor
   ~FGNozzle();
 
-  float Calculate(float CfPc);
-  float GetPowerRequired(void);
-  
+  double Calculate(double CfPc);
+  double GetPowerRequired(void);
+  string GetThrusterLabels(int id, string delimeter);
+  string GetThrusterValues(int id, string delimeter);
+
 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);
+};
+}
 //%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 #endif