Use shiftForces in ForceOuputs
[alexxy/gromacs.git] / src / gromacs / listed_forces / listed_forces.h
index f5bb76fd95cd5600c94a672cb7a97a5f00474639..52a2699f3f6b6fbffd53dee94a1c9e6da3ac373c 100644 (file)
@@ -86,7 +86,7 @@ class t_state;
 
 namespace gmx
 {
-class ForceWithVirial;
+class ForceOutputs;
 }
 
 //! Type of CPU function to compute a bonded interaction.
@@ -110,8 +110,7 @@ void calc_listed(const t_commrec *cr,
                  struct gmx_wallcycle *wcycle,
                  const t_idef *idef,
                  const rvec x[], history_t *hist,
-                 rvec f[],
-                 gmx::ForceWithVirial *forceWithVirial,
+                 gmx::ForceOutputs *forceOutputs,
                  const t_forcerec *fr,
                  const struct t_pbc *pbc, const struct t_pbc *pbc_full,
                  const struct t_graph *g,
@@ -144,8 +143,7 @@ do_force_listed(struct gmx_wallcycle           *wcycle,
                 const t_idef                   *idef,
                 const rvec                      x[],
                 history_t                      *hist,
-                rvec                           *forceForUseWithShiftForces,
-                gmx::ForceWithVirial           *forceWithVirial,
+                gmx::ForceOutputs              *forceOutputs,
                 const t_forcerec               *fr,
                 const struct t_pbc             *pbc,
                 const struct t_graph           *graph,