1
0
Fork 0

Vivian Meazza:

I've made appropriate changes to Readme.submodels to reflect the
variation of Cd with Mach number.

Spitfire.submodel has been changed to use the variation of Cd with Mach
number

Submodel.cxx has been changed so that the default value of Cd is the
subsonic Cd of a non-boat tailed bullet.
This commit is contained in:
ehofman 2004-10-02 14:30:18 +00:00
parent 1d081cdd93
commit f6176ec7ef

View file

@ -182,9 +182,9 @@ SubmodelSystem::load ()
sm->buoyancy = entry_node->getDoubleValue("buoyancy", 0); sm->buoyancy = entry_node->getDoubleValue("buoyancy", 0);
sm->wind = entry_node->getBoolValue ("wind", false); sm->wind = entry_node->getBoolValue ("wind", false);
sm->first_time = false; sm->first_time = false;
sm->cd = entry_node->getDoubleValue("cd", 0.295); sm->cd = entry_node->getDoubleValue("cd", 0.193);
sm->weight = entry_node->getDoubleValue("weight", 0.25); sm->weight = entry_node->getDoubleValue("weight", 0.25);
sm->contents_node = fgGetNode(entry_node->getStringValue("contents", "none"), true); sm->contents_node = fgGetNode(entry_node->getStringValue("contents", "none"), true);
sm->trigger->setBoolValue(false); sm->trigger->setBoolValue(false);
sm->timer = sm->delay; sm->timer = sm->delay;