~ubuntu-branches/debian/sid/flightgear/sid

« back to all changes in this revision

Viewing changes to src/FDM/JSBSim/models/FGGasCell.h

  • Committer: Package Import Robot
  • Author(s): Markus Wanner, Markus Wanner, Rebecca Palmer
  • Date: 2014-01-21 22:31:02 UTC
  • mfrom: (1.3.1) (15.1.2 experimental)
  • Revision ID: package-import@ubuntu.com-20140121223102-cjw7g9le25acd119
Tags: 3.0.0~git20140204+c99ea4-1
[ Markus Wanner ]
* Upload to unstable.
* Adjust B-D to allow building on kfreebsd-*. Closes: #724686.
* Add a lintian-overrides on autotools; we use cmake.
* Upstream corrected the fgfs manpage. Closes: #556362.
* Drop unnecessary man page for gl-info. Closes: #698308.
* Drop README.Linux: it's outdated to the point of uselessness.
  Closes: #574173.
* Add an upper limit of libsimgear-dev versions that flightgear can be
  built with. Closes: #738436.
* Drop the libsvn-dev dependency, neither flightgear nor simgear depend
  on libsvn, anymore. Closes: #682947.
* List icons in debian/install rather than copying around from rules.
* Update menu entry for flightgear, add one for fgcom; add .xpm icons.
  Closes: #713924.
* flightgear.desktop: add German translation
* Bump Standards-Version to 3.9.5; no changes needed.

[ Rebecca Palmer ]
* New upstream release.
* Install the icons (based on code by Saikrishna Arcot).  (Not a
  complete fix for LP908153 as it only sets the menu/Dash icon, not the
  running window's icon, but better than nothing).
* Disable screensaver while running. Closes: LP#793599. Add required
  libdbus-1-dev dependency.
* Remove outdated README.Debian.
* Terrasync now works after just ticking the box. Closes: #252899.
* Always set Terrasync directory.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 Author:       Anders Gidenstam
5
5
 Date started: 01/21/2006
6
6
 
7
 
 ----- Copyright (C) 2006 - 2011  Anders Gidenstam (anders(at)gidenstam.org) --
 
7
 ----- Copyright (C) 2006 - 2013  Anders Gidenstam (anders(at)gidenstam.org) --
8
8
 
9
9
 This program is free software; you can redistribute it and/or modify it under
10
10
 the terms of the GNU Lesser General Public License as published by the Free Software
50
50
DEFINITIONS
51
51
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
52
52
 
53
 
#define ID_GASCELL "$Id: FGGasCell.h,v 1.12 2011/08/06 13:47:59 jberndt Exp $"
 
53
#define ID_GASCELL "$Id: FGGasCell.h,v 1.13 2013/04/17 20:24:27 andgi Exp $"
54
54
 
55
55
/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
56
56
FORWARD DECLARATIONS
238
238
  std::string type;
239
239
  int CellNum;
240
240
  // Structural constants
241
 
  double MaxVolume;                 // [ft^2]
 
241
  double MaxVolume;                 // [ft^3]
242
242
  double MaxOverpressure;           // [lbs/ft^2]
243
243
  FGColumnVector3 vXYZ;             // [in]
244
244
  double Xradius, Yradius, Zradius; // [ft]
245
245
  double Xwidth, Ywidth, Zwidth;    // [ft]
246
246
  double ValveCoefficient;          // [ft^4 sec / slug]
247
 
  typedef vector <FGFunction*> CoeffArray;
 
247
  typedef std::vector <FGFunction*> CoeffArray;
248
248
  CoeffArray HeatTransferCoeff;
249
 
  typedef vector <FGBallonet*> BallonetArray;
 
249
  typedef std::vector <FGBallonet*> BallonetArray;
250
250
  BallonetArray Ballonet;
251
251
  // Variables
252
252
  double Pressure;          // [lbs/ft^2]
253
253
  double Contents;          // [mol]
254
 
  double Volume;            // [ft^2]
255
 
  double dVolumeIdeal;      // [ft^2]
 
254
  double Volume;            // [ft^3]
 
255
  double dVolumeIdeal;      // [ft^3]
256
256
  double Temperature;       // [Rankine]
257
257
  double Buoyancy;          // [lbs] Note: Gross lift.
258
258
                            // Does not include the weight of the gas itself.
344
344
private:
345
345
  int CellNum;
346
346
  // Structural constants
347
 
  double MaxVolume;                 // [ft^2]
 
347
  double MaxVolume;                 // [ft^3]
348
348
  double MaxOverpressure;           // [lbs/ft^2]
349
349
  FGColumnVector3 vXYZ;             // [in]
350
350
  double Xradius, Yradius, Zradius; // [ft]
351
351
  double Xwidth, Ywidth, Zwidth;    // [ft]
352
352
  double ValveCoefficient;          // [ft^4 sec / slug]
353
 
  typedef vector <FGFunction*> CoeffArray;
 
353
  typedef std::vector <FGFunction*> CoeffArray;
354
354
  CoeffArray HeatTransferCoeff;     // [lbs ft / sec]
355
355
  FGFunction* BlowerInput;          // [ft^3 / sec]
356
356
  FGGasCell* Parent;
357
357
  // Variables
358
358
  double Pressure;         // [lbs/ft^2]
359
359
  double Contents;         // [mol]
360
 
  double Volume;           // [ft^2]
361
 
  double dVolumeIdeal;     // [ft^2]
 
360
  double Volume;           // [ft^3]
 
361
  double dVolumeIdeal;     // [ft^3]
362
362
  double dU;               // [lbs ft / sec]
363
363
  double Temperature;      // [Rankine]
364
364
  double ValveOpen;        // 0 <= ValveOpen <= 1 (or higher).