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
33 static char *SRCID_readir_h
= "$Id$";
36 #ident "@(#) readir.h 1.20 9/30/97"
37 #endif /* HAVE_IDENT */
43 enum { eshNONE
, eshHBONDS
, eshALLBONDS
, eshHANGLES
, eshALLANGLES
, eshNR
};
45 static char *constraints
[eshNR
+1] = {
46 "none", "h-bonds", "all-bonds", "h-angles", "all-angles", NULL
69 extern void init_ir(t_inputrec
*ir
, t_gromppopts
*opts
);
72 extern void check_ir(t_inputrec
*ir
, t_gromppopts
*opts
,int *nerror
);
73 /* Validate inputrec data.
74 * Fatal errors will be added to nerror.
77 extern void double_check(t_inputrec
*ir
,matrix box
,t_molinfo
*mol
,int *nerror
);
80 extern void triple_check(char *mdparin
,t_inputrec
*ir
,t_topology
*sys
,
82 /* Do even more checks */
84 extern void get_ir(char *mdparin
,char *mdparout
,
85 t_inputrec
*ir
,t_gromppopts
*opts
,int *nerror
);
86 /* Read the input file, and retrieve data for inputrec.
87 * More data are read, but the are only evaluated when the next
88 * function is called. Also prints the input file back to mdparout.
89 * Add errors no nerror.
92 extern void do_index(char *ndx
,
94 t_atoms
*atoms
,bool bVerbose
,
95 t_inputrec
*ir
,t_idef
*idef
,int *forward
);
96 /* Read the index file and assign grp numbers to atoms */
98 #endif /* _readir_h */