4 * This source code is part of
8 * GROningen MAchine for Chemical Simulations
12 * Copyright (c) 1991-1999
13 * BIOSON Research Institute, Dept. of Biophysical Chemistry
14 * University of Groningen, The Netherlands
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)
21 * Also check out our WWW page:
22 * http://md.chem.rug.nl/~gmx
27 * Green Red Orange Magenta Azure Cyan Skyblue
33 static char *SRCID_rbin_h = "$Id$";
40 #ident "@(#) rbin.h 1.8 2/2/97"
41 #endif /* HAVE_IDENT */
52 extern t_bin *mk_bin(void);
53 /* Create a real bin */
55 extern void reset_bin(t_bin *b);
56 /* Reset number of entries to zero */
58 extern int add_binr(FILE *log,t_bin *b,int nr,real r[]);
59 extern int add_bind(FILE *log,t_bin *b,int nr,double r[]);
60 /* Add reals to the bin. Returns index */
62 extern void sum_bin(t_bin *b,t_commrec *cr);
63 /* Globally sum the reals in the bin */
65 extern void extract_binr(t_bin *b,int index,int nr,real r[]);
66 extern void extract_bind(t_bin *b,int index,int nr,double r[]);
67 /* Extract values from the bin, starting from index (see add_bin) */