From: Jon S. B. <jb...@us...> - 2009-02-08 21:06:04
|
Update of /cvsroot/jsbsim/JSBSim/src/models/propulsion In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv2666/src/models/propulsion Modified Files: FGPiston.cpp Log Message: Expose MAP as a property (from RJensen) Index: FGPiston.cpp =================================================================== RCS file: /cvsroot/jsbsim/JSBSim/src/models/propulsion/FGPiston.cpp,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -r1.31 -r1.32 *** FGPiston.cpp 5 Feb 2009 10:22:49 -0000 1.31 --- FGPiston.cpp 8 Feb 2009 21:05:55 -0000 1.32 *************** *** 228,231 **** --- 228,233 ---- property_name = base_property_name + "/volumetric-efficiency"; PropertyManager->Tie(property_name.c_str(), &volumetric_efficiency); + property_name = base_property_name + "/map-pa"; + PropertyManager->Tie(property_name.c_str(), &MAP); minMAP = MinManifoldPressure_inHg * inhgtopa; // inHg to Pa maxMAP = MaxManifoldPressure_inHg * inhgtopa; |