4 * This source code is part of
8 * GROningen MAchine for Chemical Simulations
11 * Copyright (c) 1991-2001, University of Groningen, The Netherlands
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
17 * If you want to redistribute modifications, please consider that
18 * scientific software is very special. Version control is crucial -
19 * bugs must be traceable. We will be happy to consider code for
20 * inclusion in the official distribution, but derived work must not
21 * be called official GROMACS. Details are found in the README & COPYING
22 * files - if they are missing, get the official version at www.gromacs.org.
24 * To help us fund GROMACS development, we humbly ask that you cite
25 * the papers on the package - you can find them in the top README file.
27 * For more info, check our website at http://www.gromacs.org
30 * Getting the Right Output Means no Artefacts in Calculating Stuff
47 bool bSet
; /* Has this combination been set */
48 real c
[3]; /* The non-bonded parameters */
50 /* The t_nbparam struct is used to temporary store the explicit
51 * non-bonded parameter combinations, which will be copied to t_params.
55 atom_id a
[MAXATOMLIST
]; /* The atom list (eg. bonds: particle */
56 /* i = a[0] (AI), j = a[1] (AJ)) */
57 real c
[MAXFORCEPARAM
]; /* Force parameters (eg. b0 = c[0]) */
58 char s
[MAXSLEN
]; /* A string (instead of parameters), *
59 * read from the .rtp file in pdb2gmx */
63 int nr
; /* The number of bonds in this record */
64 t_param
*param
; /* Array of parameters (dim: nr) */
68 int nr
; /* The number of exclusions */
69 atom_id
*e
; /* The excluded atoms */
74 int nrexcl
; /* Number of exclusions per atom */
75 bool excl_set
; /* Have exclusions been generated? */
76 bool bProcessed
; /* Has the mol been processed */
77 t_atoms atoms
; /* Atoms */
78 t_block cgs
; /* Charge groups */
79 t_block mols
; /* Molecules */
80 t_params plist
[F_NRE
]; /* Parameters in old style */
85 int nr
; /* The number of atomtypes */
86 t_atom
*atom
; /* Array of atoms */
87 char ***atomname
; /* Names of the atomtypes */
88 t_param
*nb
; /* Nonbonded force default params */
89 int *bondatomtype
; /* The bond_atomtype for each atomtype */
90 real
*radius
; /* Radius for GBSA stuff */
91 real
*vol
; /* Effective volume for GBSA */
92 real
*surftens
; /* Surface tension with water, for GBSA */
96 int nr
; /* Number of bond_atomtypes */
97 char ***atomname
; /* Names of the bond_atomtypes */
125 d_position_restraints
,
127 d_angle_restraints_z
,
128 d_distance_restraints
,
129 d_orientation_restraints
,
130 d_dihedral_restraints
,
136 static char *ds
[d_maxdir
+1] = {
146 /* All the directives above can not appear after moleculetype */
161 "position_restraints",
163 "angle_restraints_z",
164 "distance_restraints",
165 "orientation_restraints",
166 "dihedral_restraints",
170 extern void convert_harmonics(int nrmols
,t_molinfo mols
[],t_atomtype
*atype
);
172 #endif /* _grompp_h */