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