]> git.mxchange.org Git - flightgear.git/blob - src/FDM/UIUCModel/uiuc_initializemaps1.cpp
Code clean ups relating to FGOptions ... and moved it into globals-> space.
[flightgear.git] / src / FDM / UIUCModel / uiuc_initializemaps1.cpp
1 /********************************************************************** 
2  * 
3  * FILENAME:     uiuc_initializemaps1.cpp 
4  *
5  * ---------------------------------------------------------------------- 
6  *
7  * DESCRIPTION:  Initializes the maps for various keywords 
8  *
9  * ----------------------------------------------------------------------
10  * 
11  * STATUS:       alpha version
12  *
13  * ----------------------------------------------------------------------
14  * 
15  * REFERENCES:   
16  * 
17  * ----------------------------------------------------------------------
18  * 
19  * HISTORY:      01/26/2000   initial release
20  * 
21  * ----------------------------------------------------------------------
22  * 
23  * AUTHOR(S):    Bipin Sehgal       <bsehgal@uiuc.edu>
24  * 
25  * ----------------------------------------------------------------------
26  * 
27  * VARIABLES:
28  * 
29  * ----------------------------------------------------------------------
30  * 
31  * INPUTS:       *
32  * 
33  * ----------------------------------------------------------------------
34  * 
35  * OUTPUTS:      *
36  * 
37  * ----------------------------------------------------------------------
38  * 
39  * CALLED BY:    uiuc_wrapper.cpp
40  * 
41  * ----------------------------------------------------------------------
42  * 
43  * CALLS TO:     *
44  * 
45  * ----------------------------------------------------------------------
46  * 
47  * COPYRIGHT:    (C) 2000 by Michael Selig
48  * 
49  * This program is free software; you can redistribute it and/or
50  * modify it under the terms of the GNU General Public License
51  * as published by the Free Software Foundation.
52  * 
53  * This program is distributed in the hope that it will be useful,
54  * but WITHOUT ANY WARRANTY; without even the implied warranty of
55  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
56  * GNU General Public License for more details.
57  * 
58  * You should have received a copy of the GNU General Public License
59  * along with this program; if not, write to the Free Software
60  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
61  * USA or view http://www.gnu.org/copyleft/gpl.html.
62  * 
63  ***********************************************************************/
64
65
66 #include "uiuc_initializemaps.h"
67
68 void uiuc_initializemaps1 ()
69 {
70         Keyword_map["init"] = init_flag;
71         Keyword_map["geometry"] = geometry_flag;
72         Keyword_map["controlSurface"] = controlSurface_flag;
73         Keyword_map["mass"] = mass_flag;
74         Keyword_map["engine"] = engine_flag;
75         Keyword_map["CD"] = CD_flag;
76         Keyword_map["CL"] = CL_flag;
77         Keyword_map["Cm"] = Cm_flag;
78         Keyword_map["CY"] = CY_flag;
79         Keyword_map["Cl"] = Cl_flag;
80         Keyword_map["Cn"] = Cn_flag;
81         Keyword_map["gear"] = gear_flag;
82         Keyword_map["ice"] = ice_flag;
83         Keyword_map["record"] = record_flag;
84
85
86
87         init_map["Dx_pilot"] = Dx_pilot_flag;
88         init_map["Dy_pilot"] = Dy_pilot_flag;
89         init_map["Dz_pilot"] = Dz_pilot_flag;
90         init_map["V_north"] = V_north_flag;
91         init_map["V_east"] = V_east_flag;
92         init_map["V_down"] = V_down_flag;
93         init_map["P_body"] = P_body_flag;
94         init_map["Q_body"] = Q_body_flag;
95         init_map["R_body"] = R_body_flag;
96         init_map["Phi"] = Phi_flag;
97         init_map["Theta"] = Theta_flag;
98         init_map["Psi"] = Psi_flag;
99
100
101         geometry_map["bw"] = bw_flag;
102         geometry_map["cbar"] = cbar_flag;
103         geometry_map["Sw"] = Sw_flag;
104
105
106         controlSurface_map["de"] = de_flag;
107         controlSurface_map["da"] = da_flag;
108         controlSurface_map["dr"] = dr_flag;
109
110
111         mass_map["Mass"] = Mass_flag;
112         mass_map["I_xx"] = I_xx_flag;
113         mass_map["I_yy"] = I_yy_flag;
114         mass_map["I_zz"] = I_zz_flag;
115         mass_map["I_xz"] = I_xz_flag;
116
117
118         engine_map["simpleSingle"] = simpleSingle_flag;
119         engine_map["c172"] = c172_flag;
120
121
122         CD_map["CDo"] = CDo_flag;
123         CD_map["CDK"] = CDK_flag;
124         CD_map["CD_a"] = CD_a_flag;
125         CD_map["CD_de"] = CD_de_flag;
126         CD_map["CDfa"] = CDfa_flag;
127         CD_map["CDfade"] = CDfade_flag;
128 }
129
130 // end uiuc_initializemaps.cpp