changed reading hint
[gromacs/adressmacs.git] / src / kernel / topdirs.h
blobfa1c13715b9c257646b06be09858293e101def4b
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 * GRowing Old MAkes el Chrono Sweat
30 #ifndef _topdirs_h
31 #define _topdirs_h
33 static char *SRCID_topdirs_h = "$Id$";
35 #ifdef HAVE_IDENT
36 #ident "@(#) topdirs.h 1.30 9/30/97"
37 #endif /* HAVE_IDENT */
39 #include "grompp.h"
41 typedef struct tagDirStack {
42 directive d;
43 struct tagDirStack *prev;
44 } DirStack;
46 extern int ifunc_index(directive d,int type);
48 extern char *dir2str (directive d);
50 extern directive str2dir (char *dstr);
52 extern void DS_Init (DirStack **DS);
54 extern void DS_Done (DirStack **DS);
56 extern void DS_Push (DirStack **DS, directive d);
58 extern int DS_Search (DirStack *DS, directive d);
60 extern int DS_Check_Order (DirStack *DS, directive d);
62 #endif /* _topdirs_h */