1
0
Fork 0

src/FDM/JSBSim/models/FGGasCell.cpp: Restore the ballonet model to a working state.

This commit is contained in:
Anders Gidenstam 2011-11-22 21:15:42 +01:00
parent 029226f8d4
commit 50f82808f9

View file

@ -261,8 +261,8 @@ FGGasCell::~FGGasCell()
void FGGasCell::Calculate(double dt)
{
const double AirTemperature = in.Temperature; // [Rankine]
const double AirPressure = in.Pressure; // [lbs/ft²]
const double AirDensity = in.Density; // [slug/ft³]
const double AirPressure = in.Pressure; // [lbs/ft^2]
const double AirDensity = in.Density; // [slug/ft^3]
const double g = in.gravity; // [lbs/slug]
const double OldTemperature = Temperature;
@ -689,8 +689,8 @@ FGBallonet::~FGBallonet()
void FGBallonet::Calculate(double dt)
{
const double ParentPressure = Parent->GetPressure(); // [lbs/ft²]
const double AirPressure = Pressure; // [lbs/ft²]
const double ParentPressure = Parent->GetPressure(); // [lbs/ft^2]
const double AirPressure = in.Pressure; // [lbs/ft^2]
const double OldTemperature = Temperature;
const double OldPressure = Pressure;