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 * Good ROcking Metal Altar for Chronical Sinners
33 static char *SRCID_nrnb_h
= "$Id$";
36 #ident "@(#) nrnb.h 1.9 2/2/97"
37 #endif /* HAVE_IDENT */
40 extern void init_nrnb(t_nrnb
*nrnb
);
42 extern void cp_nrnb(t_nrnb
*dest
, t_nrnb
*src
);
44 extern void add_nrnb(t_nrnb
*dest
, t_nrnb
*s1
, t_nrnb
*s2
);
46 extern void print_nrnb(FILE *out
, t_nrnb
*nrnb
);
48 extern void _inc_nrnb(t_nrnb
*nrnb
,int enr
,int inc
,char *file
,int line
);
51 #define inc_nrnb(nrnb,enr,inc) _inc_nrnb(nrnb,enr,inc,__FILE__,__LINE__)
53 #define inc_nrnb(nrnb,enr,inc) (nrnb)->n[enr] += inc
56 extern void print_perf(FILE *out
,double cputime
,double realtime
,real runtime
,
57 t_nrnb
*nrnb
,int nprocs
);
59 extern void pr_load(FILE *log
,int nprocs
,t_nrnb nrnb
[]);
60 /* Print detailed load balancing info */
62 extern int cost_nrnb(int enr
);
63 /* Cost in i860 cycles of this component of MD */
65 extern char *nrnb_str(int enr
);
66 /* Name of this component */