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 * GRowing Old MAkes el Chrono Sweat
29 static char *SRCID_calcgrid_h = "$Id$";
35 real calc_grid(matrix box,real gr_sp,int *nx,int *ny,int *nz,int nnodes);
36 /* Sets the number of grid points for each zero n* to the first reasonable
37 * number which gives a spacing equal to or smaller than gr_sp.
38 * nx and ny should be divisible by nnodes, an error is generated when this
39 * can not be achieved by calc_grid.
40 * Returns the maximum grid spacing.