]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/JSBSim/FGModel.cpp
Encapsulate the interpolstion version of FGEnvironment and fix some bugs
[flightgear.git] / src / FDM / JSBSim / FGModel.cpp
index d8b0193814bd2ac475ed38ee8805a210fc734fa1..a4123e1330eb0cc19f83d4fd3c246b07640cc48c 100644 (file)
@@ -55,6 +55,8 @@ INCLUDES
 #include "FGAuxiliary.h"
 #include "FGOutput.h"
 
+namespace JSBSim {
+
 static const char *IdSrc = "$Id$";
 static const char *IdHdr = ID_MODEL;
 
@@ -91,8 +93,8 @@ FGModel::FGModel(FGFDMExec* fdmex)
   //must be brought up now.
   PropertyManager = FDMExec->GetPropertyManager();
   
-  
   exe_ctr     = 1;
+  rate        = 1;
 
   if (debug_lvl & 2) cout << "              FGModel Base Class" << endl;
 }
@@ -200,4 +202,4 @@ void FGModel::Debug(int from)
     }
   }
 }
-
+}