Merge release-4-6 into master
[alexxy/gromacs.git] / src / gromacs / gmxlib / names.c
1 /*
2  * 
3  *                This source code is part of
4  * 
5  *                 G   R   O   M   A   C   S
6  * 
7  *          GROningen MAchine for Chemical Simulations
8  * 
9  *                        VERSION 3.2.0
10  * Written by David van der Spoel, Erik Lindahl, Berk Hess, and others.
11  * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
12  * Copyright (c) 2001-2004, The GROMACS development team,
13  * check out http://www.gromacs.org for more information.
14
15  * This program is free software; you can redistribute it and/or
16  * modify it under the terms of the GNU General Public License
17  * as published by the Free Software Foundation; either version 2
18  * of the License, or (at your option) any later version.
19  * 
20  * If you want to redistribute modifications, please consider that
21  * scientific software is very special. Version control is crucial -
22  * bugs must be traceable. We will be happy to consider code for
23  * inclusion in the official distribution, but derived work must not
24  * be called official GROMACS. Details are found in the README & COPYING
25  * files - if they are missing, get the official version at www.gromacs.org.
26  * 
27  * To help us fund GROMACS development, we humbly ask that you cite
28  * the papers on the package - you can find them in the top README file.
29  * 
30  * For more info, check our website at http://www.gromacs.org
31  * 
32  * And Hey:
33  * GROningen Mixture of Alchemy and Childrens' Stories
34  */
35 #ifdef HAVE_CONFIG_H
36 #include <config.h>
37 #endif
38
39 #include "typedefs.h"
40 #include "names.h"
41
42 /* note: these arrays should correspond to enums in include/types/enums.h */
43
44 const char *epbc_names[epbcNR+1]=
45 {
46   "xyz", "no", "xy", "screw", NULL
47 };
48
49 const char *ens_names[ensNR+1]=
50 {
51   "Grid","Simple", NULL
52 };
53
54 const char *ei_names[eiNR+1]=
55 {
56   "md", "steep", "cg", "bd", "sd", "nm", "l-bfgs", "tpi", "tpic", "sd1", "md-vv", "md-vv-avek",NULL 
57 };
58
59 const char *bool_names[BOOL_NR+1]=
60 {
61   "FALSE","TRUE", NULL
62 };
63
64 const char *yesno_names[BOOL_NR+1]=
65 {
66   "no","yes", NULL
67 };
68
69 const char *ptype_str[eptNR+1] = {
70   "Atom", "Nucleus", "Shell", "Bond", "VSite", NULL
71 };
72
73 const char *eel_names[eelNR+1] = {
74   "Cut-off", "Reaction-Field", "Generalized-Reaction-Field",
75   "PME", "Ewald", "P3M-AD", "Poisson", "Switch", "Shift", "User", 
76   "Generalized-Born", "Reaction-Field-nec", "Encad-shift", 
77   "PME-User", "PME-Switch", "PME-User-Switch", 
78   "Reaction-Field-zero", NULL
79 };
80
81 const char *eewg_names[eewgNR+1] = {
82   "3d", "3dc", NULL
83 };
84
85 const char *evdw_names[evdwNR+1] = {
86   "Cut-off", "Switch", "Shift", "User", "Encad-shift", NULL
87 };
88
89 const char *econstr_names[econtNR+1] = {
90   "Lincs", "Shake", NULL
91 };
92
93 const char *egrp_nm[egNR+1] = { 
94   "Coul-SR","LJ-SR","Buck-SR", "Coul-LR", "LJ-LR", "Buck-LR",
95   "Coul-14", "LJ-14", NULL
96 };
97
98 const char *etcoupl_names[etcNR+1] = {
99   "No", "Berendsen", "Nose-Hoover", "yes", "Andersen", "Andersen-interval", "V-rescale", NULL
100 }; /* yes is alias for berendsen */
101
102 const char *epcoupl_names[epcNR+1] = {
103   "No", "Berendsen", "Parrinello-Rahman", "Isotropic", "MTTK", NULL
104 }; /* isotropic is alias for berendsen */
105
106 const char *epcoupltype_names[epctNR+1] = {
107   "Isotropic", "Semiisotropic", "Anisotropic", "Surface-Tension", NULL
108 };
109
110 const char *erefscaling_names[erscNR+1] = {
111   "No", "All", "COM", NULL
112 };
113
114 const char *edisre_names[edrNR+1] = {
115   "No", "Simple", "Ensemble", NULL
116 };
117
118 const char *edisreweighting_names[edrwNR+1] = {
119   "Conservative", "Equal", NULL
120 };
121
122 const char *enbf_names[eNBF_NR+1] = {
123   "", "LJ", "Buckingham", NULL
124 };
125
126 const char *ecomb_names[eCOMB_NR+1] = {
127   "", "Geometric", "Arithmetic", "GeomSigEps", NULL
128 };
129
130 const char *gtypes[egcNR+1] = {
131   "T-Coupling", "Energy Mon.", "Acceleration", "Freeze",
132   "User1", "User2", "VCM", "XTC", "Or. Res. Fit", "QMMM", NULL
133 };
134
135 const char *efep_names[efepNR+1] = {
136   "no", "yes", NULL
137 };
138
139 const char *separate_dhdl_file_names[sepdhdlfileNR+1] = {
140   "yes", "no", NULL
141 };
142
143 const char *dhdl_derivatives_names[dhdlderivativesNR+1] = {
144   "yes", "no", NULL
145 };
146
147 const char *esol_names[esolNR+1] = {
148   "No", "SPC", "TIP4p", NULL
149 };
150
151 const char *enlist_names[enlistNR+1] = {
152   "Atom-Atom", "SPC-Atom", "SPC-SPC", "TIP4p-Atom", "TIP4p-TIP4p", "CG-CG", NULL
153 };
154
155 const char *edispc_names[edispcNR+1] = {
156   "No", "EnerPres", "Ener", "AllEnerPres", "AllEner", NULL
157 };
158
159 const char *ecm_names[ecmNR+1] = { 
160   "Linear", "Angular", "None", NULL 
161 };
162
163 const char *eann_names[eannNR+1] = {
164   "No", "Single", "Periodic", NULL
165 };
166
167 const char *eis_names[eisNR+1] = {
168         "No", "GBSA", NULL
169 };
170
171 const char *egb_names[egbNR+1] = {
172   "Still", "HCT", "OBC", NULL
173 };
174
175 const char *esa_names[esaNR+1] = {
176   "Ace-approximation", "None", "Still", NULL
177 };
178
179 const char *ewt_names[ewtNR+1] = {
180   "9-3", "10-4", "table", "12-6", NULL
181 };
182
183 const char *epull_names[epullNR+1] = { 
184   "no", "umbrella", "constraint", "constant-force", NULL
185 };
186
187 const char *epullg_names[epullgNR+1] = { 
188   "distance", "direction", "cylinder", "position", "direction-periodic", NULL
189 };
190
191 const char *erotg_names[erotgNR+1] = { 
192   "iso", "iso-pf", "pm", "pm-pf", "rm", "rm-pf", "rm2", "rm2-pf", "flex", "flex-t", "flex2", "flex2-t", NULL
193 };
194
195 const char *erotg_fitnames[erotgFitNR+1] = { 
196   "rmsd", "norm", "potential", NULL
197 };
198
199 const char *eQMmethod_names[eQMmethodNR+1] = {
200   "AM1", "PM3", "RHF",
201   "UHF", "DFT", "B3LYP", "MP2", "CASSCF","B3LYPLAN",
202   "DIRECT", NULL
203 };
204
205 const char *eQMbasis_names[eQMbasisNR+1] = {
206   "STO3G", "STO-3G", "3-21G",
207   "3-21G*", "3-21+G*", "6-21G",
208   "6-31G", "6-31G*", "6-31+G*",
209   "6-311G", NULL
210 };
211
212 const char *eQMMMscheme_names[eQMMMschemeNR+1] = {
213   "normal", "ONIOM", NULL
214 };
215
216 const char *eMultentOpt_names[eMultentOptNR+1] = {
217   "multiple_entries", "no", "use_last", NULL
218 };
219
220 const char *eAdresstype_names[eAdressNR+1] = {
221   "off","constant", "xsplit", "sphere", NULL 
222 };
223
224 const char *eAdressICtype_names[eAdressICNR+1] = {
225   "off", "thermoforce", NULL 
226 };
227
228 const char *eAdressSITEtype_names[eAdressSITENR+1] = {
229   "com","cog", "atom", "atomperatom", NULL
230 };
231