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