]> 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 6520196e6f418e00fa3bbc9b8dc6900944e73d64..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;
 
@@ -92,6 +94,7 @@ FGModel::FGModel(FGFDMExec* fdmex)
   PropertyManager = FDMExec->GetPropertyManager();
   
   exe_ctr     = 1;
+  rate        = 1;
 
   if (debug_lvl & 2) cout << "              FGModel Base Class" << endl;
 }
@@ -199,4 +202,4 @@ void FGModel::Debug(int from)
     }
   }
 }
-
+}