changed reading hint
[gromacs/adressmacs.git] / src / ngmx / nload.h
blob2297bb99eeb3cb2937477b0491310a3675ba85bf
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 * Great Red Oystrich Makes All Chemists Sane
30 #ifndef _nload_h
31 #define _nload_h
33 static char *SRCID_nload_h = "$Id$";
35 #ifdef HAVE_IDENT
36 #ident "@(#) nload.h 1.19 9/30/97"
37 #endif /* HAVE_IDENT */
38 #include "x11.h"
39 #include "xutil.h"
41 typedef struct {
42 t_windata wd;
43 int nprocs;
44 int *load;
45 } t_loadwin;
47 extern t_loadwin *init_lw(t_x11 *x11,Window Parent,
48 int x,int y,int width,int height,
49 unsigned long fg,unsigned long bg);
51 extern void map_lw(t_x11 *x11,t_loadwin *lw);
53 extern void set_load(t_x11 *x11,t_loadwin *lw,int nprocs,int load[]);
55 extern void done_lw(t_x11 *x11,t_loadwin *lw);
57 #endif /* _nload_h */