ce5b1eaedc26a507dc58daa96b12bfffdb42be9e
[alexxy/gromacs.git] / include / nhash.h
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 2.0
11  * 
12  * Copyright (c) 1991-1999
13  * BIOSON Research Institute, Dept. of Biophysical Chemistry
14  * University of Groningen, The Netherlands
15  * 
16  * Please refer to:
17  * GROMACS: A message-passing parallel molecular dynamics implementation
18  * H.J.C. Berendsen, D. van der Spoel and R. van Drunen
19  * Comp. Phys. Comm. 91, 43-56 (1995)
20  * 
21  * Also check out our WWW page:
22  * http://md.chem.rug.nl/~gmx
23  * or e-mail to:
24  * gromacs@chem.rug.nl
25  * 
26  * And Hey:
27  * Good ROcking Metal Altar for Chronical Sinners
28  */
29
30 #ifndef _nhash_h
31 #define _nhash_h
32
33 static char *SRCID_nhash_h = "$Id$";
34
35 #ifdef HAVE_CONFIG_H
36 #include <config.h>
37 #endif
38
39 #ifdef HAVE_IDENT
40 #ident  "@(#) nhash.h 1.3 11/23/92"
41 #endif /* HAVE_IDENT */
42
43 #define MAX_LJQQ 997
44
45 typedef struct {
46   float c6,c12,qq;
47 } t_ljqq;
48
49 extern t_ljqq LJQQ[MAX_LJQQ];
50
51 int h_enter(FILE *log,float c6, float c12, float qq);
52 /* Enters the constants denoted above in the hash-table.
53  * Returns the index in LJQQ.
54  */
55
56 void h_stat(FILE *log);
57 /* Print statistics for hashing */
58
59 #endif  /* _nhash_h */