Update of /cvsroot/jsbsim/JSBSim/utils/aeromatic++/Systems
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv9618/Systems
Modified Files:
Controls.cpp
Log Message:
Add CL0 to -CLmax
Index: Controls.cpp
===================================================================
RCS file: /cvsroot/jsbsim/JSBSim/utils/aeromatic++/Systems/Controls.cpp,v
retrieving revision 1.43
retrieving revision 1.44
diff -C2 -r1.43 -r1.44
*** Controls.cpp 16 Aug 2016 11:41:46 -0000 1.43
--- Controls.cpp 16 Aug 2016 13:11:05 -0000 1.44
***************
*** 343,347 ****
file << " -0.88 " << std::setw(6) << (-1.0f*TCF) << std::endl;
file << " " << std::setprecision(2) << (-0.6+alpha0) << " " << std::setw(6) << std::setprecision(4) << -(CLmax-(0.6*alpha*CLalpha)-CL0) << std::endl;
! file << " " << std::setprecision(2) << (-alpha+alpha0) << std::setprecision(4) << " " << (-CLmax) << std::endl;
file << " 0.00 " << std::setw(6) << CL0 << std::endl;
file << " " << std::setprecision(2) << (alpha) << std::setprecision(4) << " " << (CLmax) << std::endl;
--- 343,347 ----
file << " -0.88 " << std::setw(6) << (-1.0f*TCF) << std::endl;
file << " " << std::setprecision(2) << (-0.6+alpha0) << " " << std::setw(6) << std::setprecision(4) << -(CLmax-(0.6*alpha*CLalpha)-CL0) << std::endl;
! file << " " << std::setprecision(2) << (-alpha+alpha0) << std::setprecision(4) << " " << (-CLmax+CL0) << std::endl;
file << " 0.00 " << std::setw(6) << CL0 << std::endl;
file << " " << std::setprecision(2) << (alpha) << std::setprecision(4) << " " << (CLmax) << std::endl;
|