changed reading hint
[gromacs/adressmacs.git] / include / reorder.h
blob1e8f5a228ac9b1671d506f1b89989bcdcc13e2fb
1 /*
2 * $Id$
3 *
4 * This source code is part of
5 *
6 * G R O M A C S
7 *
8 * GROningen MAchine for Chemical Simulations
9 *
10 * VERSION 2.0
12 * Copyright (c) 1991-1999
13 * BIOSON Research Institute, Dept. of Biophysical Chemistry
14 * University of Groningen, The Netherlands
16 * Please refer to:
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
23 * or e-mail to:
24 * gromacs@chem.rug.nl
26 * And Hey:
27 * Green Red Orange Magenta Azure Cyan Skyblue
30 #ifndef _reorder_h
31 #define _reorder_h
33 static char *SRCID_reorder_h = "$Id$";
35 #ifdef HAVE_IDENT
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 */