]> git.mxchange.org Git - flightgear.git/blob - src/FDM/UIUCModel/uiuc_map_init.cpp
Honor the /sim/freeze/fuel property to inhibit fuel consumption at runtime.
[flightgear.git] / src / FDM / UIUCModel / uiuc_map_init.cpp
1 /********************************************************************** 
2  
3  FILENAME:     uiuc_map_init.cpp 
4
5 ---------------------------------------------------------------------- 
6
7  DESCRIPTION:  initializes the init map
8
9 ----------------------------------------------------------------------
10  
11  STATUS:       alpha version
12
13 ----------------------------------------------------------------------
14  
15  REFERENCES:   
16  
17 ----------------------------------------------------------------------
18  
19  HISTORY:      04/08/2000   initial release
20                06/18/2001   (RD) Added Alpha, Beta, U_body
21                             V_body, and W_body.
22
23 ----------------------------------------------------------------------
24  
25  AUTHOR(S):    Bipin Sehgal       <bsehgal@uiuc.edu>
26                Jeff Scott         <jscott@mail.com>
27                Robert Deters      <rdeters@uiuc.edu>
28  
29 ----------------------------------------------------------------------
30  
31  VARIABLES:
32  
33 ----------------------------------------------------------------------
34  
35  INPUTS:       none
36  
37 ----------------------------------------------------------------------
38  
39  OUTPUTS:      none
40  
41 ----------------------------------------------------------------------
42  
43  CALLED BY:    uiuc_initializemaps.cpp
44  
45 ----------------------------------------------------------------------
46  
47  CALLS TO:     none
48  
49 ----------------------------------------------------------------------
50  
51  COPYRIGHT:    (C) 2000 by Michael Selig
52  
53  This program is free software; you can redistribute it and/or
54  modify it under the terms of the GNU General Public License
55  as published by the Free Software Foundation.
56  
57  This program is distributed in the hope that it will be useful,
58  but WITHOUT ANY WARRANTY; without even the implied warranty of
59  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
60  GNU General Public License for more details.
61  
62  You should have received a copy of the GNU General Public License
63  along with this program; if not, write to the Free Software
64  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
65  USA or view http://www.gnu.org/copyleft/gpl.html.
66  
67 **********************************************************************/
68
69 #include "uiuc_map_init.h"
70
71
72 void uiuc_map_init()
73 {
74   init_map["Dx_pilot"]            =      Dx_pilot_flag              ;
75   init_map["Dy_pilot"]            =      Dy_pilot_flag              ;
76   init_map["Dz_pilot"]            =      Dz_pilot_flag              ;
77   init_map["Dx_cg"]               =      Dx_cg_flag                 ;
78   init_map["Dy_cg"]               =      Dy_cg_flag                 ;
79   init_map["Dz_cg"]               =      Dz_cg_flag                 ;
80   init_map["Altitude"]            =      Altitude_flag              ;
81   init_map["V_north"]             =      V_north_flag               ;
82   init_map["V_east"]              =      V_east_flag                ;
83   init_map["V_down"]              =      V_down_flag                ;
84   init_map["P_body"]              =      P_body_flag                ;
85   init_map["Q_body"]              =      Q_body_flag                ;
86   init_map["R_body"]              =      R_body_flag                ;
87   init_map["Phi"]                 =      Phi_flag                   ;
88   init_map["Theta"]               =      Theta_flag                 ;
89   init_map["Psi"]                 =      Psi_flag                   ;
90   init_map["Long_trim"]           =      Long_trim_flag             ;
91   init_map["recordRate"]          =      recordRate_flag            ;
92   init_map["recordStartTime"]     =      recordStartTime_flag       ;
93   init_map["use_V_rel_wind_2U"]   =      use_V_rel_wind_2U_flag     ;
94   init_map["nondim_rate_V_rel_wind"]=    nondim_rate_V_rel_wind_flag;
95   init_map["use_abs_U_body_2U"]   =      use_abs_U_body_2U_flag     ;
96   init_map["dyn_on_speed"]        =      dyn_on_speed_flag          ;
97   init_map["dyn_on_speed_zero"]   =      dyn_on_speed_zero_flag     ;
98   init_map["use_dyn_on_speed_curve1"] =  use_dyn_on_speed_curve1_flag;
99   init_map["use_Alpha_dot_on_speed"]  =  use_Alpha_dot_on_speed_flag;
100   init_map["downwashMode"]        =      downwashMode_flag          ;
101   init_map["downwashCoef"]        =      downwashCoef_flag          ;
102   init_map["Alpha"]               =      Alpha_flag                 ;
103   init_map["Beta"]                =      Beta_flag                  ;
104   init_map["U_body"]              =      U_body_flag                ;
105   init_map["V_body"]              =      V_body_flag                ;
106   init_map["W_body"]              =      W_body_flag                ;
107   init_map["ignore_unknown"]      =      ignore_unknown_flag        ;
108   init_map["trim_case_2"]         =      trim_case_2_flag           ;
109   init_map["use_uiuc_network"]    =      use_uiuc_network_flag      ;
110   init_map["old_flap_routine"]    =      old_flap_routine_flag      ;
111   init_map["icing_demo"]          =      icing_demo_flag            ;
112   init_map["outside_control"]     =      outside_control_flag       ;
113 }
114
115 // end uiuc_map_init.cpp