Fixed a bug in the pdb-writing code.
[gromacs.git] / include / types / enums.h
blob7043b49d6a26b61288368e01ef7fd160cc5d6f98
1 /*
2 * $Id$
3 *
4 * This source code is part of
5 *
6 * G R O M A C S
7 *
8 * GROningen MAchine for Chemical Simulations
9 *
10 * VERSION 3.1
11 * Copyright (c) 1991-2001, University of Groningen, The Netherlands
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
17 * If you want to redistribute modifications, please consider that
18 * scientific software is very special. Version control is crucial -
19 * bugs must be traceable. We will be happy to consider code for
20 * inclusion in the official distribution, but derived work must not
21 * be called official GROMACS. Details are found in the README & COPYING
22 * files - if they are missing, get the official version at www.gromacs.org.
24 * To help us fund GROMACS development, we humbly ask that you cite
25 * the papers on the package - you can find them in the top README file.
27 * For more info, check our website at http://www.gromacs.org
29 * And Hey:
30 * Gnomes, ROck Monsters And Chili Sauce
32 #ifdef HAVE_CONFIG_H
33 #include <config.h>
34 #endif
36 /* note: these enums should correspond to the names in gmxlib/names.c */
38 enum {
39 ebCGS,ebMOLS,ebSBLOCKS,ebNR
42 enum {
43 epbcXYZ, epbcNONE, epbcNR
46 enum {
47 etcNO, etcBERENDSEN, etcNOSEHOOVER, etcYES, etcNR
48 }; /* yes is an alias for berendsen */
50 enum {
51 epcNO, epcBERENDSEN, epcPARRINELLORAHMAN, epcISOTROPIC, epcNR
52 }; /* isotropic is an alias for berendsen */
54 enum {
55 epctISOTROPIC, epctSEMIISOTROPIC, epctANISOTROPIC,
56 epctSURFACETENSION, epctNR
59 enum {
60 eelCUT, eelRF, eelGRF, eelPME, eelEWALD, eelPPPM,
61 eelPOISSON, eelSWITCH, eelSHIFT, eelUSER, eelNR
64 /* Ewald geometry */
65 enum {
66 eewg3D, eewg3DC, eewgNR
69 #define EEL_LR(e) ((e == eelPPPM) || (e == eelPOISSON) || (e == eelPME) || (e == eelEWALD))
71 enum {
72 evdwCUT, evdwSWITCH, evdwSHIFT, evdwUSER, evdwNR
75 enum {
76 ensGRID, ensSIMPLE, ensNR
79 enum {
80 eiMD, eiSteep, eiCG, eiBD, eiSD, eiNM, eiNR
83 enum {
84 estLINCS, estSHAKE, estNR
87 enum {
88 edrNone, edrSimple, edrEnsemble, edrNR
91 enum {
92 edrwConservative, edrwEqual, edrwNR
95 /* Combination rule things */
96 enum {
97 eCOMB_NONE, eCOMB_ARITHMETIC, eCOMB_GEOMETRIC, eCOMB_ARITH_SIG_EPS, eCOMB_NR
100 /* NBF selection */
101 enum {
102 eNBF_NONE, eNBF_LJ, eNBF_BHAM, eNBF_NR
105 /* FEP selection */
106 enum {
107 efepNO, efepYES, efepNR
110 /* Solvent optimization */
111 enum {
112 esolNO, esolMNO, esolWATER, esolWATERWATER, esolNR
115 /* Dispersion correction */
116 enum {
117 edispcNO, edispcEnerPres, edispcEner, edispcNR
120 /* Shell types, for completion stuff */
121 enum {
122 eshellCSH, eshellBASH, eshellZSH, eshellNR
125 /* Center of mass motion selection */
126 enum {
127 ecmLINEAR, ecmANGULAR, ecmNO, ecmNR