Merge release-4-6 into master
[alexxy/gromacs.git] / src / gromacs / legacyheaders / types / nrnb.h
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  * GRoups of Organic Molecules in ACtion for Science
34  */
35 #ifndef _types_nrnb_h
36 #define _types_nrnb_h
37
38
39 #ifdef __cplusplus
40 extern "C" {
41 #endif
42 #if 0
43 } /* fixes auto-indentation problems */
44 #endif
45
46
47 #define eNR_NBKERNEL_NONE -1
48
49 enum
50 {
51     eNR_NBKERNEL_VDW_VF,
52     eNR_NBKERNEL_VDW_F,
53     eNR_NBKERNEL_ELEC_VF,
54     eNR_NBKERNEL_ELEC_F,
55     eNR_NBKERNEL_ELEC_W3_VF,
56     eNR_NBKERNEL_ELEC_W3_F,
57     eNR_NBKERNEL_ELEC_W3W3_VF,
58     eNR_NBKERNEL_ELEC_W3W3_F,
59     eNR_NBKERNEL_ELEC_W4_VF,
60     eNR_NBKERNEL_ELEC_W4_F,
61     eNR_NBKERNEL_ELEC_W4W4_VF,
62     eNR_NBKERNEL_ELEC_W4W4_F,
63     eNR_NBKERNEL_ELEC_VDW_VF,
64     eNR_NBKERNEL_ELEC_VDW_F,
65     eNR_NBKERNEL_ELEC_VDW_W3_VF,
66     eNR_NBKERNEL_ELEC_VDW_W3_F,
67     eNR_NBKERNEL_ELEC_VDW_W3W3_VF,
68     eNR_NBKERNEL_ELEC_VDW_W3W3_F,
69     eNR_NBKERNEL_ELEC_VDW_W4_VF,
70     eNR_NBKERNEL_ELEC_VDW_W4_F,
71     eNR_NBKERNEL_ELEC_VDW_W4W4_VF,
72     eNR_NBKERNEL_ELEC_VDW_W4W4_F,
73
74     eNR_NBKERNEL_NR,                        /* Total number of interaction-specific kernel entries */
75
76     eNR_NBKERNEL_GENERIC = eNR_NBKERNEL_NR, /* Reuse number; KERNEL_NR is not an entry itself */
77     eNR_NBKERNEL_GENERIC_CG,
78     eNR_NBKERNEL_GENERIC_ADRESS,
79     eNR_NBKERNEL_FREE_ENERGY,               /* Add other generic kernels _before_ the free energy one */
80
81     eNR_NBKERNEL_ALLVSALL,
82     eNR_NBKERNEL_ALLVSALLGB,
83
84     eNR_NBNXN_DIST2,
85     eNR_NBNXN_LJ_RF,    eNR_NBNXN_LJ_RF_E,
86     eNR_NBNXN_LJ_TAB,   eNR_NBNXN_LJ_TAB_E,
87     eNR_NBNXN_LJ_EWALD, eNR_NBNXN_LJ_EWALD_E,
88     eNR_NBNXN_LJ,       eNR_NBNXN_LJ_E,
89     eNR_NBNXN_RF,       eNR_NBNXN_RF_E,
90     eNR_NBNXN_TAB,      eNR_NBNXN_TAB_E,
91     eNR_NBNXN_EWALD,    eNR_NBNXN_EWALD_E,
92     eNR_NB14,
93     eNR_BORN_RADII_STILL,     eNR_BORN_RADII_HCT_OBC,
94     eNR_BORN_CHAINRULE,
95     eNR_BORN_AVA_RADII_STILL, eNR_BORN_AVA_RADII_HCT_OBC,
96     eNR_BORN_AVA_CHAINRULE,
97     eNR_WEIGHTS,              eNR_SPREADQ,              eNR_SPREADQBSP,
98     eNR_GATHERF,              eNR_GATHERFBSP,           eNR_FFT,
99     eNR_CONV,                 eNR_SOLVEPME, eNR_NS,      eNR_RESETX,
100     eNR_SHIFTX,               eNR_CGCM,                 eNR_FSUM,
101     eNR_BONDS,                eNR_G96BONDS,             eNR_FENEBONDS,
102     eNR_TABBONDS,             eNR_RESTRBONDS,           eNR_LINEAR_ANGLES,
103     eNR_ANGLES,               eNR_G96ANGLES,            eNR_QANGLES,
104     eNR_TABANGLES,            eNR_PROPER,               eNR_IMPROPER,
105     eNR_RB,                   eNR_FOURDIH,              eNR_TABDIHS,
106     eNR_DISRES,               eNR_ORIRES,               eNR_DIHRES,
107     eNR_POSRES,               eNR_FBPOSRES,
108     eNR_ANGRES,               eNR_ANGRESZ,
109     eNR_MORSE,                eNR_CUBICBONDS,           eNR_WALLS,
110     eNR_POLARIZE,             eNR_ANHARM_POL,
111     eNR_WPOL,                 eNR_THOLE,                eNR_VIRIAL,
112     eNR_UPDATE,               eNR_EXTUPDATE,            eNR_STOPCM,
113     eNR_PCOUPL,               eNR_EKIN,                 eNR_LINCS,
114     eNR_LINCSMAT,             eNR_SHAKE,                eNR_CONSTR_V,
115     eNR_SHAKE_RIJ,            eNR_CONSTR_VIR,           eNR_SETTLE,
116     eNR_VSITE2,               eNR_VSITE3,               eNR_VSITE3FD,
117     eNR_VSITE3FAD,            eNR_VSITE3OUT,            eNR_VSITE4FD,
118     eNR_VSITE4FDN,            eNR_VSITEN,               eNR_GB,
119     eNR_CMAP,
120     eNRNB
121 };
122
123
124 typedef struct
125 {
126     double n[eNRNB];
127 }
128 t_nrnb;
129
130
131 typedef struct gmx_wallcycle *gmx_wallcycle_t;
132
133 #ifdef __cplusplus
134 }
135 #endif
136
137 #endif