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$";
36 #ident "@(#) rbin.h 1.8 2/2/97"
37 #endif /* HAVE_IDENT */
48 extern t_bin
*mk_bin(void);
49 /* Create a real bin */
51 extern void reset_bin(t_bin
*b
);
52 /* Reset number of entries to zero */
54 extern int add_binr(FILE *log
,t_bin
*b
,int nr
,real r
[]);
55 extern int add_bind(FILE *log
,t_bin
*b
,int nr
,double r
[]);
56 /* Add reals to the bin. Returns index */
58 extern void sum_bin(t_bin
*b
,t_commrec
*cr
);
59 /* Globally sum the reals in the bin */
61 extern void extract_binr(t_bin
*b
,int index
,int nr
,real r
[]);
62 extern void extract_bind(t_bin
*b
,int index
,int nr
,double r
[]);
63 /* Extract values from the bin, starting from index (see add_bin) */