FGFCSFunction Class Reference

#include <FGFCSFunction.h>

Inherits FGFCSComponent.

List of all members.


Detailed Description

Author:
Jon S. Berndt
One of the most recent additions to the FCS component set is the FCS Function component. This component allows a function to be created when no other component is suitable. Available mathematical operations are described in the FGFunction class. The function component is defined as follows:

<fcs_function name="Windup Trigger">
  [<input> [-]property </input>]
  <function>
    ...
  </function>
  [<clipto>
    <min> {[-]property name | value} </min>
    <max> {[-]property name | value} </max>
  </clipto>]
  [<output> {property} </output>]
</ fcs_function >

The function definition itself can include a nested series of products, sums, quotients, etc. as well as trig and other math functions. Here's an example of a function (from an aero specification):

<function name="aero/coefficient/CDo">
    <description>Drag_at_zero_lift</description>
    <product>
        <property>aero/qbar-psf</property>
        <property>metrics/Sw-sqft</property>
        <table>
            <independentVar>velocities/mach</independentVar>
            <tableData>
                0.0000  0.0220
                0.2000  0.0200
                0.6500  0.0220
                0.9000  0.0240
                0.9700  0.0500
            </tableData>
        </table>
    </product>
</function>

Version:
Id
FGFCSFunction.h,v 1.6 2008/05/01 01:03:14 dpculp Exp

Definition at line 115 of file FGFCSFunction.h.


Public Member Functions

 FGFCSFunction (FGFCS *fcs, Element *element)
bool Run (void)

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

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