X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FFDM%2FLaRCsimIC.cxx;h=2bc6caa05ce98b96d6c184638c19680a65f42b09;hb=b07b7c8ad0de8db12c12242ee7c69322ceb0eb0a;hp=e525b43332d28f6f2a0ebfe4b4da54312a538495;hpb=e333080388fe1290ce3dc553046d74928801f257;p=flightgear.git diff --git a/src/FDM/LaRCsimIC.cxx b/src/FDM/LaRCsimIC.cxx index e525b4333..2bc6caa05 100644 --- a/src/FDM/LaRCsimIC.cxx +++ b/src/FDM/LaRCsimIC.cxx @@ -28,7 +28,7 @@ #include #include -#include +#include STL_IOSTREAM #include "FDM/LaRCsimIC.hxx" #include @@ -38,8 +38,8 @@ #include #include -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; }