cd1d07f892aea87f74c1a09cb53212ba0c0b73ac
[alexxy/gromacs.git] / include / nrama.h
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
11  * 
12  * Copyright (c) 1991-1999
13  * BIOSON Research Institute, Dept. of Biophysical Chemistry
14  * University of Groningen, The Netherlands
15  * 
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)
20  * 
21  * Also check out our WWW page:
22  * http://md.chem.rug.nl/~gmx
23  * or e-mail to:
24  * gromacs@chem.rug.nl
25  * 
26  * And Hey:
27  * Good ROcking Metal Altar for Chronical Sinners
28  */
29
30 #ifndef _nrama_h
31 #define _nrama_h
32
33 static char *SRCID_nrama_h = "$Id$";
34
35 #ifdef HAVE_CONFIG_H
36 #include <config.h>
37 #endif
38
39 #ifdef HAVE_IDENT
40 #ident  "@(#) nrama.h 1.9 2/2/97"
41 #endif /* HAVE_IDENT */
42 #include "typedefs.h"
43 #include "statutil.h"
44 #include "mshift.h"
45
46 typedef struct {
47   bool bShow;
48   char *label;
49   int  iphi,ipsi; /* point in the dih array of xr... */
50 } t_phipsi;
51
52 typedef struct {
53   atom_id ai[4];
54   int     mult;
55   real    phi0;
56   real    ang;
57 } t_dih;
58
59 typedef struct {
60   int       ndih;
61   t_dih     *dih;
62   int       npp;
63   t_phipsi  *pp;
64   int       traj;
65   int       natoms;
66   int       amin,amax;
67   real      t;
68   rvec      *x;
69   matrix    box;
70   t_idef    *idef;
71 } t_xrama;
72
73 extern void init_rama(char *infile,char *topfile,t_xrama *xr);
74
75 extern bool new_data(t_xrama *xr);
76
77 #endif  /* _nrama_h */