FGInitialCondition Class Reference

#include <FGInitialCondition.h>

Inherits FGJSBBase, and FGXMLFileRead.

List of all members.


Detailed Description

Takes a set of initial conditions (IC) and provide a kinematically consistent set of body axis velocity components, euler angles, and altitude. This class does not attempt to trim the model i.e. the sim will most likely start in a very dynamic state (unless, of course, you have chosen your IC's wisely, or started on the ground) even after setting it up with this class.

Usage Notes

With a valid object of FGFDMExec and an aircraft model loaded:

   FGInitialCondition fgic=new FGInitialCondition(FDMExec);
   fgic->SetVcalibratedKtsIC()
   fgic->SetAltitudeAGLFtIC();

   // directly into Run
   FDMExec->GetState()->Initialize(fgic)
   delete fgic;
   FDMExec->Run()

   //or to loop the sim w/o integrating
   FDMExec->RunIC(fgic)

Speed

Since vc, ve, vt, and mach all represent speed, the remaining three are recalculated each time one of them is set (using the current altitude). The most recent speed set is remembered so that if and when altitude is reset, the last set speed is used to recalculate the remaining three. Setting any of the body components forces a recalculation of vt and vt then becomes the most recent speed set.

Alpha,Gamma, and Theta

This class assumes that it will be used to set up the sim for a steady, zero pitch rate condition. Since any two of those angles specifies the third gamma (flight path angle) is favored when setting alpha and theta and alpha is favored when setting gamma. i.e.

The idea being that gamma is most interesting to pilots (since it is indicative of climb rate).

Setting climb rate is, for the purpose of this discussion, considered equivalent to setting gamma.

These are the items that can be set in an initialization file:

Properties

Author:
Tony Peden
Version:
"$Id: FGInitialCondition.h,v 1.17 2009/05/26 05:35:42 jberndt Exp $"

Definition at line 209 of file FGInitialCondition.h.


Public Member Functions

 FGInitialCondition (FGFDMExec *fdmex)
 Constructor.
double GetAlphaDegIC (void) const
 Gets the initial angle of attack.
double GetAlphaRadIC (void) const
 Gets the initial angle of attack.
double GetAltitudeAGLFtIC (void) const
 Gets the initial altitude above ground level.
double GetAltitudeASLFtIC (void) const
 Gets the initial altitude above sea level.
double GetBetaDegIC (void) const
 Gets the initial sideslip angle.
double GetBetaRadIC (void) const
 Gets the initial angle of sideslip.
double GetClimbRateFpmIC (void) const
 Gets the initial climb rate.
double GetClimbRateFpsIC (void) const
 Gets the initial climb rate.
double GetFlightPathAngleDegIC (void) const
 Gets the initial flight path angle.
double GetFlightPathAngleRadIC (void) const
 Gets the initial flight path angle.
string GetInitFile (void)
 Get init-file name.
double GetLatitudeDegIC (void) const
 Gets the initial latitude.
double GetLatitudeRadIC (void) const
 Gets the initial latitude.
double GetLongitudeDegIC (void) const
 Gets the initial longitude.
double GetLongitudeRadIC (void) const
 Gets the initial longitude.
double GetMachIC (void) const
 Gets the initial mach.
double GetPhiDegIC (void) const
 Gets the initial roll angle.
double GetPhiRadIC (void) const
 Gets the initial roll angle.
double GetPRadpsIC () const
 Gets the initial body axis roll rate.
double GetPsiDegIC (void) const
 Gets the initial heading angle.
double GetPsiRadIC (void) const
 Gets the initial heading angle.
double GetQRadpsIC () const
 Gets the initial body axis pitch rate.
double GetRRadpsIC () const
 Gets the initial body axis yaw rate.
double GetSeaLevelRadiusFtIC (void) const
 Gets the initial sea level radius.
speedset GetSpeedSet (void)
 Gets the initial speedset.
double GetTargetNlfIC (void)
 Gets the target normal load factor set from IC.
double GetTerrainElevationFtIC (void) const
 Gets the initial terrain elevation.
double GetThetaDegIC (void) const
 Gets the initial pitch angle.
double GetThetaRadIC (void) const
 Gets the initial pitch angle.
double GetUBodyFpsIC (void) const
 Gets the initial body axis X velocity.
double GetVBodyFpsIC (void) const
 Gets the initial body axis Y velocity.
double GetVcalibratedKtsIC (void) const
 Gets the initial calibrated airspeed.
double GetVDownFpsIC (void) const
 Gets the initial local frame Z (Down) velocity.
double GetVEastFpsIC (void) const
 Gets the initial local frame Y (East) velocity.
double GetVequivalentKtsIC (void) const
 Gets the initial equivalent airspeed.
double GetVgroundFpsIC (void) const
 Gets the initial ground velocity.
double GetVgroundKtsIC (void) const
 Gets the initial ground speed.
double GetVNorthFpsIC (void) const
 Gets the initial local frame X (North) velocity.
double GetVtrueFpsIC (void) const
 Gets the initial true velocity.
double GetVtrueKtsIC (void) const
 Gets the initial true velocity.
double GetWBodyFpsIC (void) const
 Gets the initial body axis Z velocity.
double GetWindDFpsIC (void) const
 Gets the initial wind velocity in local frame.
double GetWindDirDegIC (void) const
 Gets the initial wind direction.
double GetWindEFpsIC (void) const
 Gets the initial wind velocity in local frame.
double GetWindFpsIC (void) const
 Gets the initial total wind velocity in feet/sec.
double GetWindNFpsIC (void) const
 Gets the initial wind velocity in local frame.
windset GetWindSet (void)
 Gets the initial windset.
double GetWindUFpsIC (void) const
 Gets the initial body axis X wind velocity.
double GetWindVFpsIC (void) const
 Gets the initial body axis Y wind velocity.
double GetWindWFpsIC (void) const
 Gets the initial body axis Z wind velocity.
bool Load (string rstname, bool useStoredPath=true)
 Loads the initial conditions.
void ResetIC (double u0, double v0, double w0, double p0, double q0, double r0, double alpha0, double beta0, double phi0, double theta0, double psi0, double latitudeRad0, double longitudeRad0, double altitudeAGL0, double gamma0)
 Resets the IC data structure to new values.
void SetAlphaDegIC (double a)
 Sets angle of attack initial condition in degrees.
void SetAlphaRadIC (double alpha)
 Sets the initial angle of attack.
void SetAltitudeAGLFtIC (double agl)
 Sets the initial Altitude above ground level.
void SetAltitudeASLFtIC (double altitudeASL)
 Sets the altitude above sea level initial condition in feet.
void SetBetaDegIC (double B)
 Sets angle of sideslip initial condition in degrees.
void SetBetaRadIC (double beta)
 Sets the initial sideslip angle.
void SetClimbRateFpmIC (double roc)
 Sets the climb rate initial condition in feet/minute.
void SetClimbRateFpsIC (double roc)
 Sets the initial climb rate.
void SetCrossWindKtsIC (double cross)
 Sets the initial crosswind speed.
void SetFlightPathAngleDegIC (double gamma)
 Sets the flight path angle initial condition in degrees.
void SetFlightPathAngleRadIC (double gamma)
 Sets the initial flight path angle.
void SetHeadWindKtsIC (double head)
 Sets the initial headwind velocity.
void SetInitFile (string f)
 Set init-file name.
void SetLatitudeDegIC (double lat)
 Sets the initial latitude.
void SetLatitudeRadIC (double lat)
 Sets the initial latitude.
void SetLongitudeDegIC (double lon)
 Sets the initial longitude.
void SetLongitudeRadIC (double lon)
 Sets the initial longitude.
void SetMachIC (double mach)
 Set mach initial condition.
void SetPhiDegIC (double phi)
 Sets the roll angle initial condition in degrees.
void SetPhiRadIC (double phi)
 Sets the initial roll angle.
void SetPRadpsIC (double P)
 Sets the initial roll rate.
void SetPsiDegIC (double psi)
 Sets the heading angle initial condition in degrees.
void SetPsiRadIC (double psi)
 Sets the initial heading angle.
void SetQRadpsIC (double Q)
 Sets the initial pitch rate.
void SetRRadpsIC (double R)
 Sets the initial yaw rate.
void SetSeaLevelRadiusFtIC (double sl_rad)
 Sets the initial sea level radius from planet center.
void SetTargetNlfIC (double nlf)
 Sets the target normal load factor.
void SetTerrainElevationFtIC (double elev)
 Sets the initial terrain elevation.
void SetThetaDegIC (double theta)
 Sets pitch angle initial condition in degrees.
void SetThetaRadIC (double theta)
 Sets the initial pitch angle.
void SetUBodyFpsIC (double ubody)
 Sets the initial body axis X velocity.
void SetVBodyFpsIC (double vbody)
 Sets the initial body axis Y velocity.
void SetVcalibratedKtsIC (double vc)
 Set calibrated airspeed initial condition in knots.
void SetVDownFpsIC (double vd)
 Sets the initial local axis down velocity.
void SetVEastFpsIC (double ve)
 Sets the initial local axis east velocity.
void SetVequivalentKtsIC (double ve)
 Set equivalent airspeed initial condition in knots.
void SetVgroundFpsIC (double vg)
 Sets the initial ground speed.
void SetVgroundKtsIC (double vg)
 Set ground speed initial condition in knots.
void SetVNorthFpsIC (double vn)
 Sets the initial local axis north velocity.
void SetVtrueFpsIC (double vt)
 Sets the initial true airspeed.
void SetVtrueKtsIC (double vt)
 Set true airspeed initial condition in knots.
void SetWBodyFpsIC (double wbody)
 Sets the initial body axis Z velocity.
void SetWindDirDegIC (double dir)
 Sets the initial wind direction.
void SetWindDownKtsIC (double wD)
 Sets the initial wind downward speed.
void SetWindMagKtsIC (double mag)
 Sets the initial total wind speed.
void SetWindNEDFpsIC (double wN, double wE, double wD)
 Sets the initial wind velocity.
void WriteStateFile (int num)
 ~FGInitialCondition ()
 Destructor.

Member Function Documentation

double GetAlphaDegIC ( void   )  const [inline]

Returns:
Initial alpha in degrees

Definition at line 326 of file FGInitialCondition.h.

double GetAlphaRadIC ( void   )  const [inline]

Returns:
Initial alpha in radians

Definition at line 564 of file FGInitialCondition.h.

double GetAltitudeAGLFtIC ( void   )  const [inline]

Returns:
Initial altitude AGL in feet

Definition at line 358 of file FGInitialCondition.h.

double GetAltitudeASLFtIC ( void   )  const [inline]

Returns:
Initial altitude in feet.

Definition at line 354 of file FGInitialCondition.h.

double GetBetaDegIC ( void   )  const [inline]

Returns:
Initial beta in degrees

Definition at line 330 of file FGInitialCondition.h.

double GetBetaRadIC ( void   )  const [inline]

Returns:
Initial sideslip angle in radians

Definition at line 568 of file FGInitialCondition.h.

double GetClimbRateFpmIC ( void   )  const [inline]

Returns:
Initial climb rate in feet/minute

Definition at line 318 of file FGInitialCondition.h.

double GetClimbRateFpsIC ( void   )  const [inline]

Returns:
Initial rate of climb in feet/second

Definition at line 484 of file FGInitialCondition.h.

double GetFlightPathAngleDegIC ( void   )  const [inline]

Returns:
Initial flight path angle in degrees

Definition at line 322 of file FGInitialCondition.h.

double GetFlightPathAngleRadIC ( void   )  const [inline]

Returns:
Initial flight path angle in radians

Definition at line 560 of file FGInitialCondition.h.

double GetLatitudeDegIC ( void   )  const [inline]

Returns:
Initial geocentric latitude in degrees

Definition at line 346 of file FGInitialCondition.h.

double GetLatitudeRadIC ( void   )  const [inline]

Returns:
Initial latitude in radians

Definition at line 576 of file FGInitialCondition.h.

double GetLongitudeDegIC ( void   )  const [inline]

Returns:
Initial longitude in degrees

Definition at line 350 of file FGInitialCondition.h.

double GetLongitudeRadIC ( void   )  const [inline]

Returns:
Initial longitude in radians

Definition at line 580 of file FGInitialCondition.h.

double GetMachIC ( void   )  const [inline]

Returns:
Initial mach number

Definition at line 314 of file FGInitialCondition.h.

double GetPhiDegIC ( void   )  const [inline]

Returns:
Initial phi in degrees

Definition at line 338 of file FGInitialCondition.h.

double GetPhiRadIC ( void   )  const [inline]

Returns:
Initial roll angle in radians

Definition at line 572 of file FGInitialCondition.h.

double GetPRadpsIC (  )  const [inline]

Returns:
Initial body axis roll rate in radians/second

Definition at line 512 of file FGInitialCondition.h.

double GetPsiDegIC ( void   )  const [inline]

Returns:
Initial psi in degrees

Definition at line 342 of file FGInitialCondition.h.

double GetPsiRadIC ( void   )  const [inline]

Returns:
Initial heading angle in radians

Definition at line 588 of file FGInitialCondition.h.

double GetQRadpsIC (  )  const [inline]

Returns:
Initial body axis pitch rate in radians/second

Definition at line 516 of file FGInitialCondition.h.

double GetRRadpsIC (  )  const [inline]

Returns:
Initial body axis yaw rate in radians/second

Definition at line 520 of file FGInitialCondition.h.

double GetSeaLevelRadiusFtIC ( void   )  const [inline]

Returns:
Initial sea level radius

Definition at line 362 of file FGInitialCondition.h.

speedset GetSpeedSet ( void   )  [inline]

Returns:
Initial speedset

Definition at line 592 of file FGInitialCondition.h.

double GetTargetNlfIC ( void   )  [inline]

Returns:
target normal load factor set from IC

Definition at line 600 of file FGInitialCondition.h.

double GetTerrainElevationFtIC ( void   )  const [inline]

Returns:
Initial terrain elevation in feet

Definition at line 366 of file FGInitialCondition.h.

double GetThetaDegIC ( void   )  const [inline]

Returns:
Initial pitch angle in degrees

Definition at line 334 of file FGInitialCondition.h.

double GetThetaRadIC ( void   )  const [inline]

Returns:
Initial pitch angle in radians

Definition at line 584 of file FGInitialCondition.h.

double GetUBodyFpsIC ( void   )  const

Returns:
Initial body axis X velocity in feet/second.

Definition at line 414 of file FGInitialCondition.cpp.

double GetVBodyFpsIC ( void   )  const

Returns:
Initial body axis Y velocity in feet/second.

Definition at line 423 of file FGInitialCondition.cpp.

double GetVcalibratedKtsIC ( void   )  const [inline]

Returns:
Initial calibrated airspeed in knots

Definition at line 298 of file FGInitialCondition.h.

double GetVDownFpsIC ( void   )  const [inline]

Returns:
Initial local frame Z (Down) axis velocity in feet/second.

Definition at line 508 of file FGInitialCondition.h.

double GetVEastFpsIC ( void   )  const [inline]

Returns:
Initial local frame Y (East) axis velocity in feet/second.

Definition at line 504 of file FGInitialCondition.h.

double GetVequivalentKtsIC ( void   )  const [inline]

Returns:
Initial equivalent airspeed in knots

Definition at line 302 of file FGInitialCondition.h.

double GetVgroundFpsIC ( void   )  const [inline]

Returns:
Initial ground velocity in feet/second

Definition at line 444 of file FGInitialCondition.h.

double GetVgroundKtsIC ( void   )  const [inline]

Returns:
Initial ground speed in knots

Definition at line 306 of file FGInitialCondition.h.

double GetVNorthFpsIC ( void   )  const [inline]

Returns:
Initial local frame X (North) axis velocity in feet/second.

Definition at line 500 of file FGInitialCondition.h.

double GetVtrueFpsIC ( void   )  const [inline]

Returns:
Initial true velocity in feet/second

Definition at line 448 of file FGInitialCondition.h.

double GetVtrueKtsIC ( void   )  const [inline]

Returns:
Initial true airspeed in knots.

Definition at line 310 of file FGInitialCondition.h.

double GetWBodyFpsIC ( void   )  const

Returns:
Initial body axis Z velocity in feet/second.

Definition at line 433 of file FGInitialCondition.cpp.

double GetWindDFpsIC ( void   )  const [inline]

Returns:
Initial wind velocity downwards in feet/second

Definition at line 472 of file FGInitialCondition.h.

double GetWindDirDegIC ( void   )  const

Returns:
Initial wind direction in feet/second

Definition at line 827 of file FGInitialCondition.cpp.

double GetWindEFpsIC ( void   )  const [inline]

Returns:
Initial wind velocity eastwards in feet/second

Definition at line 468 of file FGInitialCondition.h.

double GetWindFpsIC ( void   )  const [inline]

Returns:
Initial wind velocity in feet/second

Definition at line 476 of file FGInitialCondition.h.

double GetWindNFpsIC ( void   )  const [inline]

Returns:
Initial wind velocity toward north in feet/second

Definition at line 464 of file FGInitialCondition.h.

windset GetWindSet ( void   )  [inline]

Returns:
Initial windset

Definition at line 596 of file FGInitialCondition.h.

double GetWindUFpsIC ( void   )  const [inline]

Returns:
Initial body axis X wind velocity in feet/second

Definition at line 452 of file FGInitialCondition.h.

double GetWindVFpsIC ( void   )  const [inline]

Returns:
Initial body axis Y wind velocity in feet/second

Definition at line 456 of file FGInitialCondition.h.

double GetWindWFpsIC ( void   )  const [inline]

Returns:
Initial body axis Z wind velocity in feet/second

Definition at line 460 of file FGInitialCondition.h.

bool Load ( string  rstname,
bool  useStoredPath = true 
)

Parameters:
rstname The name of an initial conditions file
useStoredPath true if the stored path to the IC file should be used
Returns:
true if successful

Definition at line 838 of file FGInitialCondition.cpp.

void ResetIC ( double  u0,
double  v0,
double  w0,
double  p0,
double  q0,
double  r0,
double  alpha0,
double  beta0,
double  phi0,
double  theta0,
double  psi0,
double  latitudeRad0,
double  longitudeRad0,
double  altitudeAGL0,
double  gamma0 
)

Parameters:
u,v,w,... 

Definition at line 91 of file FGInitialCondition.cpp.

void SetAlphaDegIC ( double  a  )  [inline]

Parameters:
a Alpha in degrees

Definition at line 239 of file FGInitialCondition.h.

void SetAlphaRadIC ( double  alpha  ) 

Parameters:
alpha Initial angle of attack in radians

Definition at line 290 of file FGInitialCondition.cpp.

void SetAltitudeAGLFtIC ( double  agl  ) 

Parameters:
agl Altitude above ground level in feet

Definition at line 571 of file FGInitialCondition.cpp.

void SetAltitudeASLFtIC ( double  altitudeASL  ) 

Parameters:
altitudeASL Altitude above sea level in feet

Definition at line 541 of file FGInitialCondition.cpp.

void SetBetaDegIC ( double  B  )  [inline]

Parameters:
B Beta in degrees

Definition at line 243 of file FGInitialCondition.h.

void SetBetaRadIC ( double  beta  ) 

Parameters:
beta Initial angle of sideslip in radians.

Definition at line 306 of file FGInitialCondition.cpp.

void SetClimbRateFpmIC ( double  roc  ) 

Parameters:
roc Rate of Climb in feet/minute

Definition at line 264 of file FGInitialCondition.cpp.

void SetClimbRateFpsIC ( double  roc  ) 

Parameters:
roc Initial Rate of climb in feet/second

Definition at line 270 of file FGInitialCondition.cpp.

void SetCrossWindKtsIC ( double  cross  ) 

Parameters:
cross Initial crosswind speed, positive from left to right

Definition at line 452 of file FGInitialCondition.cpp.

void SetFlightPathAngleDegIC ( double  gamma  )  [inline]

Parameters:
gamma Flight path angle in degrees

Definition at line 270 of file FGInitialCondition.h.

void SetFlightPathAngleRadIC ( double  gamma  ) 

Parameters:
gamma Initial flight path angle in radians

Definition at line 281 of file FGInitialCondition.cpp.

void SetHeadWindKtsIC ( double  head  ) 

Parameters:
head Initial headwind speed in knots

Definition at line 464 of file FGInitialCondition.cpp.

void SetLatitudeDegIC ( double  lat  )  [inline]

Parameters:
lat Initial latitude in degrees

Definition at line 290 of file FGInitialCondition.h.

void SetLatitudeRadIC ( double  lat  )  [inline]

Parameters:
lat Initial latitude in radians

Definition at line 548 of file FGInitialCondition.h.

void SetLongitudeDegIC ( double  lon  )  [inline]

Parameters:
lon Initial longitude in degrees

Definition at line 294 of file FGInitialCondition.h.

void SetLongitudeRadIC ( double  lon  )  [inline]

Parameters:
lon Initial longitude in radians

Definition at line 552 of file FGInitialCondition.h.

void SetMachIC ( double  mach  ) 

Parameters:
mach Mach number

Definition at line 253 of file FGInitialCondition.cpp.

void SetPhiDegIC ( double  phi  )  [inline]

Parameters:
phi roll angle in degrees

Definition at line 258 of file FGInitialCondition.h.

void SetPhiRadIC ( double  phi  ) 

Parameters:
phi Initial roll angle in radians

Definition at line 315 of file FGInitialCondition.cpp.

void SetPRadpsIC ( double  P  )  [inline]

Parameters:
P Initial roll rate in radians/second

Definition at line 402 of file FGInitialCondition.h.

void SetPsiDegIC ( double  psi  )  [inline]

Parameters:
psi Heading angle in degrees

Definition at line 262 of file FGInitialCondition.h.

void SetPsiRadIC ( double  psi  ) 

Parameters:
psi Initial heading angle in radians

Definition at line 323 of file FGInitialCondition.cpp.

void SetQRadpsIC ( double  Q  )  [inline]

Parameters:
Q Initial pitch rate in radians/second

Definition at line 406 of file FGInitialCondition.h.

void SetRRadpsIC ( double  R  )  [inline]

Parameters:
R initial yaw rate in radians/second

Definition at line 410 of file FGInitialCondition.h.

void SetSeaLevelRadiusFtIC ( double  sl_rad  ) 

Parameters:
sl_rad sea level radius in feet

Definition at line 578 of file FGInitialCondition.cpp.

void SetTargetNlfIC ( double  nlf  )  [inline]

Parameters:
nlf Normal load factor

Definition at line 556 of file FGInitialCondition.h.

void SetTerrainElevationFtIC ( double  elev  ) 

Parameters:
elev Initial terrain elevation in feet

Definition at line 585 of file FGInitialCondition.cpp.

void SetThetaDegIC ( double  theta  )  [inline]

Parameters:
theta Theta (pitch) angle in degrees

Definition at line 247 of file FGInitialCondition.h.

void SetThetaRadIC ( double  theta  ) 

Parameters:
theta Initial pitch angle in radians

Definition at line 298 of file FGInitialCondition.cpp.

void SetUBodyFpsIC ( double  ubody  ) 

Parameters:
ubody Initial X velocity in feet/second

Definition at line 331 of file FGInitialCondition.cpp.

void SetVBodyFpsIC ( double  vbody  ) 

Parameters:
vbody Initial Y velocity in feet/second

Definition at line 339 of file FGInitialCondition.cpp.

void SetVcalibratedKtsIC ( double  vc  ) 

Parameters:
vc Calibrated airspeed in knots

Definition at line 194 of file FGInitialCondition.cpp.

void SetVDownFpsIC ( double  vd  ) 

Parameters:
vd Initial down velocity in feet/second

Definition at line 394 of file FGInitialCondition.cpp.

void SetVEastFpsIC ( double  ve  ) 

Parameters:
ve Initial east velocity in feet/second

Definition at line 375 of file FGInitialCondition.cpp.

void SetVequivalentKtsIC ( double  ve  ) 

Parameters:
ve Equivalent airspeed in knots

Definition at line 212 of file FGInitialCondition.cpp.

void SetVgroundFpsIC ( double  vg  ) 

Parameters:
vg Initial ground speed in feet/second

Definition at line 222 of file FGInitialCondition.cpp.

void SetVgroundKtsIC ( double  vg  )  [inline]

Parameters:
vg Ground speed in knots

Definition at line 231 of file FGInitialCondition.h.

void SetVNorthFpsIC ( double  vn  ) 

Parameters:
vn Initial north velocity in feet/second

Definition at line 356 of file FGInitialCondition.cpp.

void SetVtrueFpsIC ( double  vt  ) 

Parameters:
vt Initial true airspeed in feet/second

Definition at line 243 of file FGInitialCondition.cpp.

void SetVtrueKtsIC ( double  vt  )  [inline]

Parameters:
vt True airspeed in knots

Definition at line 227 of file FGInitialCondition.h.

void SetWBodyFpsIC ( double  wbody  ) 

Parameters:
wbody Initial Z velocity in feet/second

Definition at line 347 of file FGInitialCondition.cpp.

void SetWindDirDegIC ( double  dir  ) 

Parameters:
dir Initial direction wind is coming from in degrees

Definition at line 494 of file FGInitialCondition.cpp.

void SetWindDownKtsIC ( double  wD  ) 

Parameters:
wD Initial downward wind speed in knots

Definition at line 475 of file FGInitialCondition.cpp.

void SetWindMagKtsIC ( double  mag  ) 

Parameters:
mag Initial wind velocity magnitude in knots

Definition at line 484 of file FGInitialCondition.cpp.

void SetWindNEDFpsIC ( double  wN,
double  wE,
double  wD 
)

Parameters:
wN Initial wind velocity in local north direction, feet/second
wE Initial wind velocity in local east direction, feet/second
wD Initial wind velocity in local down direction, feet/second

Definition at line 442 of file FGInitialCondition.cpp.


The documentation for this class was generated from the following files:

Generated on Tue May 26 00:55:11 2009 for JSBSim Flight Dynamics Model by  doxygen 1.5.5