a72b2a1d74f60b4841b9de787a1232a985dcbed6
[alexxy/gromacs.git] / src / gromacs / gmxlib / names.c
1 /*
2  * This file is part of the GROMACS molecular simulation package.
3  *
4  * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
5  * Copyright (c) 2001-2004, The GROMACS development team.
6  * Copyright (c) 2013,2014, by the GROMACS development team, led by
7  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
8  * and including many others, as listed in the AUTHORS file in the
9  * top-level source directory and at http://www.gromacs.org.
10  *
11  * GROMACS is free software; you can redistribute it and/or
12  * modify it under the terms of the GNU Lesser General Public License
13  * as published by the Free Software Foundation; either version 2.1
14  * of the License, or (at your option) any later version.
15  *
16  * GROMACS is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
19  * Lesser General Public License for more details.
20  *
21  * You should have received a copy of the GNU Lesser General Public
22  * License along with GROMACS; if not, see
23  * http://www.gnu.org/licenses, or write to the Free Software Foundation,
24  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA.
25  *
26  * If you want to redistribute modifications to GROMACS, please
27  * consider that scientific software is very special. Version
28  * control is crucial - bugs must be traceable. We will be happy to
29  * consider code for inclusion in the official distribution, but
30  * derived work must not be called official GROMACS. Details are found
31  * in the README & COPYING files - if they are missing, get the
32  * official version at http://www.gromacs.org.
33  *
34  * To help us fund GROMACS development, we humbly ask that you cite
35  * the research papers on the package. Check out http://www.gromacs.org.
36  */
37 #include "gmxpre.h"
38
39 #include "config.h"
40
41 #include "gromacs/legacyheaders/typedefs.h"
42 #include "gromacs/legacyheaders/names.h"
43
44 /* note: these arrays should correspond to enums in include/types/enums.h */
45
46 const char *epbc_names[epbcNR+1] =
47 {
48     "xyz", "no", "xy", "screw", NULL
49 };
50
51 const char *ens_names[ensNR+1] =
52 {
53     "Grid", "Simple", NULL
54 };
55
56 const char *ei_names[eiNR+1] =
57 {
58     "md", "steep", "cg", "bd", "sd2", "nm", "l-bfgs", "tpi", "tpic", "sd", "md-vv", "md-vv-avek", NULL
59 };
60
61 const char *bool_names[BOOL_NR+1] =
62 {
63     "FALSE", "TRUE", NULL
64 };
65
66 const char *yesno_names[BOOL_NR+1] =
67 {
68     "no", "yes", NULL
69 };
70
71 const char *ptype_str[eptNR+1] = {
72     "Atom", "Nucleus", "Shell", "Bond", "VSite", NULL
73 };
74
75 const char *ecutscheme_names[ecutsNR+1] = {
76     "Verlet", "Group", NULL
77 };
78
79 const char *eel_names[eelNR+1] = {
80     "Cut-off", "Reaction-Field", "Generalized-Reaction-Field",
81     "PME", "Ewald", "P3M-AD", "Poisson", "Switch", "Shift", "User",
82     "Generalized-Born", "Reaction-Field-nec", "Encad-shift",
83     "PME-User", "PME-Switch", "PME-User-Switch",
84     "Reaction-Field-zero", NULL
85 };
86
87 const char *eewg_names[eewgNR+1] = {
88     "3d", "3dc", NULL
89 };
90
91 const char *eljpme_names[eljpmeNR+1] = {
92     "Geometric", "Lorentz-Berthelot", NULL
93 };
94
95 const char *evdw_names[evdwNR+1] = {
96     "Cut-off", "Switch", "Shift", "User", "Encad-shift",
97     "PME", NULL
98 };
99
100 const char *econstr_names[econtNR+1] = {
101     "Lincs", "Shake", NULL
102 };
103
104 const char *eintmod_names[eintmodNR+1] = {
105     "Potential-shift-Verlet", "Potential-shift", "None", "Potential-switch", "Exact-cutoff", "Force-switch", NULL
106 };
107
108 const char *egrp_nm[egNR+1] = {
109     "Coul-SR", "LJ-SR", "Buck-SR", "Coul-LR", "LJ-LR", "Buck-LR",
110     "Coul-14", "LJ-14", NULL
111 };
112
113 const char *etcoupl_names[etcNR+1] = {
114     "No", "Berendsen", "Nose-Hoover", "yes", "Andersen", "Andersen-massive", "V-rescale", NULL
115 }; /* yes is alias for berendsen */
116
117 const char *epcoupl_names[epcNR+1] = {
118     "No", "Berendsen", "Parrinello-Rahman", "Isotropic", "MTTK", NULL
119 }; /* isotropic is alias for berendsen */
120
121 const char *epcoupltype_names[epctNR+1] = {
122     "Isotropic", "Semiisotropic", "Anisotropic", "Surface-Tension", NULL
123 };
124
125 const char *erefscaling_names[erscNR+1] = {
126     "No", "All", "COM", NULL
127 };
128
129 const char *edisre_names[edrNR+1] = {
130     "No", "Simple", "Ensemble", NULL
131 };
132
133 const char *edisreweighting_names[edrwNR+1] = {
134     "Conservative", "Equal", NULL
135 };
136
137 const char *enbf_names[eNBF_NR+1] = {
138     "", "LJ", "Buckingham", NULL
139 };
140
141 const char *ecomb_names[eCOMB_NR+1] = {
142     "", "Geometric", "Arithmetic", "GeomSigEps", NULL
143 };
144
145 const char *gtypes[egcNR+1] = {
146     "T-Coupling", "Energy Mon.", "Acceleration", "Freeze",
147     "User1", "User2", "VCM", "Compressed X", "Or. Res. Fit", "QMMM", NULL
148 };
149
150 const char *esimtemp_names[esimtempNR+1] = {
151     "geometric", "exponential", "linear", NULL
152 };
153
154 const char *efep_names[efepNR+1] = {
155     "no", "yes", "static", "slow-growth", "expanded", NULL
156 };
157
158 const char *efpt_names[efptNR+1] = {
159     "fep-lambdas", "mass-lambdas", "coul-lambdas", "vdw-lambdas", "bonded-lambdas", "restraint-lambdas", "temperature-lambdas", NULL
160 };
161
162 const char *efpt_singular_names[efptNR+1] = {
163     "fep-lambda", "mass-lambda", "coul-lambda", "vdw-lambda", "bonded-lambda", "restraint-lambda", "temperature-lambda", NULL
164 };
165
166 const char *edHdLPrintEnergy_names[edHdLPrintEnergyNR+1] = {
167     "no", "total", "potential", "yes", NULL
168 };
169
170 const char *elamstats_names[elamstatsNR+1] = {
171     "no", "metropolis-transition", "barker-transition", "minvar", "wang-landau", "weighted-wang-landau", NULL
172 };
173
174 const char *elmcmove_names[elmcmoveNR+1] = {
175     "no", "metropolis", "barker", "gibbs", "metropolized-gibbs", NULL
176 };
177
178 const char *elmceq_names[elmceqNR+1] = {
179     "no", "yes", "wl-delta", "number-all-lambda", "number-steps", "number-samples", "count-ratio", NULL
180 };
181
182 const char *separate_dhdl_file_names[esepdhdlfileNR+1] = {
183     "yes", "no", NULL
184 };
185
186 const char *dhdl_derivatives_names[edhdlderivativesNR+1] = {
187     "yes", "no", NULL
188 };
189
190 const char *esol_names[esolNR+1] = {
191     "No", "SPC", "TIP4p", NULL
192 };
193
194 const char *edispc_names[edispcNR+1] = {
195     "No", "EnerPres", "Ener", "AllEnerPres", "AllEner", NULL
196 };
197
198 const char *ecm_names[ecmNR+1] = {
199     "Linear", "Angular", "None", NULL
200 };
201
202 const char *eann_names[eannNR+1] = {
203     "No", "Single", "Periodic", NULL
204 };
205
206 const char *eis_names[eisNR+1] = {
207     "No", "GBSA", NULL
208 };
209
210 const char *egb_names[egbNR+1] = {
211     "Still", "HCT", "OBC", NULL
212 };
213
214 const char *esa_names[esaNR+1] = {
215     "Ace-approximation", "None", "Still", NULL
216 };
217
218 const char *ewt_names[ewtNR+1] = {
219     "9-3", "10-4", "table", "12-6", NULL
220 };
221
222 const char *epull_names[epullNR+1] = {
223     "no", "umbrella", "constraint", "constant-force", NULL
224 };
225
226 const char *epullg_names[epullgNR+1] = {
227     "distance", "direction", "cylinder", "direction-periodic", NULL
228 };
229
230 const char *erotg_names[erotgNR+1] = {
231     "iso", "iso-pf", "pm", "pm-pf", "rm", "rm-pf", "rm2", "rm2-pf", "flex", "flex-t", "flex2", "flex2-t", NULL
232 };
233
234 const char *erotg_fitnames[erotgFitNR+1] = {
235     "rmsd", "norm", "potential", NULL
236 };
237
238 const char *eSwapTypes_names[eSwapTypesNR+1] = {
239     "no", "X", "Y", "Z", NULL
240 };
241
242 const char *eQMmethod_names[eQMmethodNR+1] = {
243     "AM1", "PM3", "RHF",
244     "UHF", "DFT", "B3LYP", "MP2", "CASSCF", "B3LYPLAN",
245     "DIRECT", NULL
246 };
247
248 const char *eQMbasis_names[eQMbasisNR+1] = {
249     "STO3G", "STO-3G", "3-21G",
250     "3-21G*", "3-21+G*", "6-21G",
251     "6-31G", "6-31G*", "6-31+G*",
252     "6-311G", NULL
253 };
254
255 const char *eQMMMscheme_names[eQMMMschemeNR+1] = {
256     "normal", "ONIOM", NULL
257 };
258
259 const char *eMultentOpt_names[eMultentOptNR+1] = {
260     "multiple_entries", "no", "use_last", NULL
261 };
262
263 const char *eAdresstype_names[eAdressNR+1] = {
264     "off", "constant", "xsplit", "sphere", NULL
265 };
266
267 const char *eAdressICtype_names[eAdressICNR+1] = {
268     "off", "thermoforce", NULL
269 };
270
271 const char *eAdressSITEtype_names[eAdressSITENR+1] = {
272     "com", "cog", "atom", "atomperatom", NULL
273 };
274
275 const char *gmx_nblist_geometry_names[GMX_NBLIST_GEOMETRY_NR+1] = {
276     "Particle-Particle", "Water3-Particle", "Water3-Water3", "Water4-Particle", "Water4-Water4", "CG-CG", NULL
277 };
278
279 const char *gmx_nbkernel_elec_names[GMX_NBKERNEL_ELEC_NR+1] =
280 {
281     "None", "Coulomb", "Reaction-Field", "Cubic-Spline-Table", "Generalized-Born", "Ewald", NULL
282 };
283
284 const char *gmx_nbkernel_vdw_names[GMX_NBKERNEL_VDW_NR+1] =
285 {
286     "None", "Lennard-Jones", "Buckingham", "Cubic-Spline-Table", "LJEwald", NULL
287 };