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_reorder_h
= "$Id$";
36 #ident "@(#) reorder.h 1.4 11/23/92"
37 #endif /* HAVE_IDENT */
39 extern void reorder(t_topology
*topin
,t_topology topout
[],
40 int nprocs
,int load
[],int tload
[]);
42 * All atoms used in topin are distributed over nprocs topologies in
43 * topout, where all atom id's are reset, start counting at zero. The
44 * bonded force parameters of topin are distributed using the highest
45 * atom id of a bond. The bonds is then placed on the processor where
46 * this atom is a home particle. Due to the algorithm, a processor
47 * receives the rest of its subsystem from the processors with a lower
48 * number (modulo nprocs). The array load specifies the number of atom
49 * to be allocated to every processor.
52 #endif /* _reorder_h */