d7737b7a989a8f7ba43bf05e1a5460b71d7253c8
[alexxy/gromacs.git] / include / steep.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  * Green Red Orange Magenta Azure Cyan Skyblue
28  */
29
30 #ifndef _steep_h
31 #define _steep_h
32
33 static char *SRCID_steep_h = "$Id$";
34
35 #ifdef HAVE_CONFIG_H
36 #include <config.h>
37 #endif
38
39 #ifdef HAVE_IDENT
40 #ident  "@(#) steep.h 1.6 03 Mar 1996"
41 #endif /* HAVE_IDENT */
42 extern real f_max(FILE *log,
43                   int left,int right,int nnodes,
44                   int start,int end,rvec grad[]);
45 /* Globally calculate max force */
46
47 extern real f_norm(FILE *log,
48                   int left,int right,int nnodes,
49                   int start,int end,rvec grad[]);
50 /* Calculates norm of forcee */
51
52 extern time_t do_steep(FILE *log,int nfile,t_filenm fnm[],
53                        t_parm *parm,t_topology *top,
54                        t_groups *grps,t_nsborder *nsb,
55                        rvec x[],rvec grad[],rvec buf[],t_mdatoms *mdatoms,
56                        tensor ekin,real ener[],
57                        t_nrnb nrnb[],
58                        bool bVerbose,bool bDummies,
59                        bool bParallelDummies,t_commrec *cr,t_graph *graph);
60 /* Do steepest descents EM or something like that! */
61
62 #endif  /* _steep_h */