Unite code for handling listed pairs
[alexxy/gromacs.git] / src / gromacs / legacyheaders / nonbonded.h
index e61f1323f043ff9fa56db22c2f0da2c0dd4fd0de..3b7b75e949834f1445e052354918ab1b0d1389e0 100644 (file)
@@ -39,9 +39,6 @@
 #define _nonbonded_h
 
 #include "gromacs/legacyheaders/typedefs.h"
-#include "gromacs/legacyheaders/network.h"
-#include "gromacs/legacyheaders/tgroup.h"
-#include "gromacs/legacyheaders/genborn.h"
 
 #ifdef __cplusplus
 extern "C" {
@@ -50,10 +47,6 @@ extern "C" {
 } /* fixes auto-indentation problems */
 #endif
 
-struct t_graph;
-struct t_pbc;
-
-
 void
 gmx_nonbonded_setup(t_forcerec *   fr,
                     gmx_bool       bGenericKernelOnly);
@@ -83,16 +76,6 @@ do_nonbonded(t_forcerec *fr,
              t_nrnb *nrnb, real *lambda, real dvdlambda[],
              int nls, int eNL, int flags);
 
-/* Calculate VdW/charge listed pair interactions (usually 1-4 interactions).
- * global_atom_index is only passed for printing error messages.
- */
-real
-do_nonbonded_listed(int ftype, int nbonds, const t_iatom iatoms[], const t_iparams iparams[],
-                    const rvec x[], rvec f[], rvec fshift[],
-                    const struct t_pbc *pbc, const struct t_graph *g,
-                    real *lambda, real *dvdl, const t_mdatoms *md, const t_forcerec *fr,
-                    gmx_grppairener_t *grppener, int *global_atom_index);
-
 #ifdef __cplusplus
 }
 #endif