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 * Good ROcking Metal Altar for Chronical Sinners
33 static char *SRCID_genhydro_h
= "$Id$";
36 #include "hackblock.h"
38 extern int add_h(t_atoms
**pdbaptr
, rvec
*xptr
[], int nah
, t_hackblock ah
[],
39 t_hackblock
*ntdb
, t_hackblock
*ctdb
, int rN
, int rC
);
40 /* Generate hydrogen atoms and N and C terminal patches.
41 * ntdb and ctdb may be NULL, no replacement will be done then.
42 * rN is the residue number of the N-terminus,
43 * rC is the residue number of the C-terminus
44 * return the New total number of atoms
47 extern void protonate(t_atoms
**atoms
,rvec
**x
);
48 /* Protonate protein molecule */
50 extern void deprotonate(t_atoms
*atoms
,rvec
*x
);
51 /* Deprotonate any molecule: all atoms whose name begins with H will be