FlightEnvelopeCalculator Class Reference
[Aircraft Performance Estimator]

Flight envelope calculator. More...

#include <flightEnvelopeCalculator.h>

List of all members.

Public Member Functions

bool estimateEnvelope (const double &, const double &, const double &, const double &)
 Estimate flight envelope.
 FlightEnvelopeCalculator (std::string name="default")
 Custom constructor.
std::string getAircraftName ()
 Get the aircraft name.
std::vector< double > getAltitudeData ()
 Get the altitude data.
std::vector< double > getMachData ()
 Get the Mach data.

Friends

class testEstimateEnvelopeCalculations


Detailed Description

Flight envelope calculator.

A class which will calculate the flight envelope of an aircraft.

Todo:
implement batch runs.

Constructor & Destructor Documentation

FlightEnvelopeCalculator::FlightEnvelopeCalculator ( std::string  name = "default"  ) 

Custom constructor.

Instatiate the class with an aircraft name

Parameters:
name aircraft name


Member Function Documentation

bool FlightEnvelopeCalculator::estimateEnvelope ( const double &  vStall,
const double &  maxIAS,
const double &  maxMach,
const double &  serviceCeiling 
)

Estimate flight envelope.

The flight envelope is estimated based on the aircraft stall speed, maximum idicated airspeed, maximum Mach number and service ceiling.

Parameters:
vStall the aircraft's stalling speed [m/s]
maxIAS the aircraft's maximum indicated airspeed [m/s]
maxMach the aircraft's maximum Mach number
serviceCeiling the aircraft's service ceiling [m]
Returns:
true if mach and altitude vectors are equal size

std::string FlightEnvelopeCalculator::getAircraftName (  )  [inline]

Get the aircraft name.

Returns:
std::string containing the aircraft name

std::vector<double> FlightEnvelopeCalculator::getAltitudeData (  )  [inline]

Get the altitude data.

Returns:
std::vector<double> containing altitude data

std::vector<double> FlightEnvelopeCalculator::getMachData (  )  [inline]

Get the Mach data.

Returns:
std::vector<double> containing Mach data


Generated on Mon Feb 23 16:42:00 2009 for Dragon Wings by  doxygen 1.5.5