Add missing linker flags
[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_FREE_ENERGY,               /* Add other generic kernels _before_ the free energy one */
78
79     eNR_NBKERNEL_ALLVSALL,
80     eNR_NBKERNEL_ALLVSALLGB,
81
82     eNR_NBNXN_DIST2,
83     eNR_NBNXN_LJ_RF,  eNR_NBNXN_LJ_RF_E,
84     eNR_NBNXN_LJ_TAB, eNR_NBNXN_LJ_TAB_E,
85     eNR_NBNXN_LJ,     eNR_NBNXN_LJ_E,
86     eNR_NBNXN_RF,     eNR_NBNXN_RF_E,
87     eNR_NBNXN_TAB,    eNR_NBNXN_TAB_E,
88     eNR_NB14,
89     eNR_BORN_RADII_STILL,     eNR_BORN_RADII_HCT_OBC,
90     eNR_BORN_CHAINRULE,
91     eNR_BORN_AVA_RADII_STILL, eNR_BORN_AVA_RADII_HCT_OBC,
92     eNR_BORN_AVA_CHAINRULE,
93     eNR_WEIGHTS,              eNR_SPREADQ,              eNR_SPREADQBSP,
94     eNR_GATHERF,              eNR_GATHERFBSP,           eNR_FFT,
95     eNR_CONV,                 eNR_SOLVEPME,eNR_NS,      eNR_RESETX,
96     eNR_SHIFTX,               eNR_CGCM,                 eNR_FSUM,
97     eNR_BONDS,                eNR_G96BONDS,             eNR_FENEBONDS,
98     eNR_TABBONDS,             eNR_RESTRBONDS,           eNR_LINEAR_ANGLES,
99     eNR_ANGLES,               eNR_G96ANGLES,            eNR_QANGLES,
100     eNR_TABANGLES,            eNR_PROPER,               eNR_IMPROPER,
101     eNR_RB,                   eNR_FOURDIH,              eNR_TABDIHS,
102     eNR_DISRES,               eNR_ORIRES,               eNR_DIHRES,
103     eNR_POSRES,               eNR_FBPOSRES,
104     eNR_ANGRES,               eNR_ANGRESZ,
105     eNR_MORSE,                eNR_CUBICBONDS,           eNR_WALLS,
106     eNR_POLARIZE,             eNR_ANHARM_POL,
107     eNR_WPOL,                 eNR_THOLE,                eNR_VIRIAL,
108     eNR_UPDATE,               eNR_EXTUPDATE,            eNR_STOPCM,
109     eNR_PCOUPL,               eNR_EKIN,                 eNR_LINCS,
110     eNR_LINCSMAT,             eNR_SHAKE,                eNR_CONSTR_V,
111     eNR_SHAKE_RIJ,            eNR_CONSTR_VIR,           eNR_SETTLE,
112     eNR_VSITE2,               eNR_VSITE3,               eNR_VSITE3FD,
113     eNR_VSITE3FAD,            eNR_VSITE3OUT,            eNR_VSITE4FD,
114     eNR_VSITE4FDN,            eNR_VSITEN,               eNR_GB,
115     eNR_CMAP,
116     eNRNB
117 };
118
119
120 typedef struct
121 {
122     double n[eNRNB];
123 }
124 t_nrnb;
125
126
127 typedef struct gmx_wallcycle *gmx_wallcycle_t;
128
129 #ifdef __cplusplus
130 }
131 #endif
132
133 #endif