]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/LaRCsimIC.cxx
Moved FDM/LaRCsim.[ch]xx to FDM/LaRCsim/LaRCsim.[ch]xx
[flightgear.git] / src / FDM / LaRCsimIC.cxx
index e525b43332d28f6f2a0ebfe4b4da54312a538495..2bc6caa05ce98b96d6c184638c19680a65f42b09 100644 (file)
@@ -28,7 +28,7 @@
 #include <simgear/compiler.h>
 
 #include <math.h>
-#include <iostream>
+#include STL_IOSTREAM
 
 #include "FDM/LaRCsimIC.hxx"
 #include <FDM/LaRCsim/ls_cockpit.h>
@@ -38,8 +38,8 @@
 #include <FDM/LaRCsim/ls_constants.h>
 #include <FDM/LaRCsim/ls_geodesy.h>
 
-FG_USING_STD(cout);
-FG_USING_STD(endl);
+SG_USING_STD(cout);
+SG_USING_STD(endl);
 
 
 LaRCsimIC::LaRCsimIC(void) {
@@ -97,15 +97,11 @@ void LaRCsimIC::SetClimbRateFpmIC( SCALAR tt) {
 
 void LaRCsimIC::SetClimbRateFpsIC( SCALAR tt) {
   vtg=vt+vw;
-  cout << "vtg: " << vtg << endl;
   if(vtg > 0.1) {
     hdot = tt - vdownwind;
     gamma=asin(hdot/vtg);
     getTheta();
     vdown=-1*hdot;
-    cout << "hdot: " << hdot << endl;
-    cout << "gamma: " << gamma*RAD_TO_DEG << endl;
-    cout << "vdown: " << vdown << endl;
   }
 }
 
@@ -114,7 +110,6 @@ void LaRCsimIC::SetFlightPathAngleRadIC( SCALAR tt) {
   getTheta();
   vtg=vt+vw;
   hdot=vtg*sin(tt);
-  cout << "hdot: " << hdot << endl;
   vdown=-1*hdot;
 }