]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/JSBSim/FGFDMExec.h
builddir -> srcdir so builds can be done outside the master source directory.
[flightgear.git] / src / FDM / JSBSim / FGFDMExec.h
index 98acb5c43d12a756b01c023bb12e22df1f992298..3bc11d3c176a09da5df279cfcc8bb841488b0e41 100644 (file)
@@ -26,6 +26,9 @@
 HISTORY
 --------------------------------------------------------------------------------
 11/17/98   JSB   Created
+7/31/99     TP   Added RunIC function that runs the sim so that every frame
+                 begins with the IC values from the given FGInitialCondition 
+                                  object and dt=0. 
 
 ********************************************************************************
 SENTRY
@@ -39,8 +42,7 @@ INCLUDES
 *******************************************************************************/
 
 #include "FGModel.h"
-
-using namespace std;
+#include "FGInitialCondition.h"
 
 /*******************************************************************************
 CLASS DECLARATION
@@ -55,6 +57,7 @@ class FGRotation;
 class FGPosition;
 class FGAuxiliary;
 class FGOutput;
+class FGInitialCondition;
 
 class FGFDMExec
 {
@@ -67,6 +70,7 @@ public:
   bool Initialize(void);
   int  Schedule(FGModel* model, int rate);
   bool Run(void);
+  bool RunIC(FGInitialCondition *fgic); 
   void Freeze(void) {frozen = true;}
   void Resume(void) {frozen = false;}