Remove forcerec from ewald_charge_correction
[alexxy/gromacs.git] / src / gromacs / ewald / ewald.h
index 2d4d20bc98c8ded83c0253c6693eb2963d27c4b0..cfb6cd2a866e1f2466faabc143ab9f7625f17db5 100644 (file)
@@ -118,11 +118,13 @@ real do_ewald(const t_inputrec&              ir,
  * charge.
  *
  * Should only be called on one thread. */
-real ewald_charge_correction(const t_commrec*  cr,
-                             const t_forcerec* fr,
-                             real              lambda,
-                             const matrix      box,
-                             real*             dvdlambda,
-                             tensor            vir);
+real ewald_charge_correction(const t_commrec*            commrec,
+                             real                        epsilonR,
+                             real                        ewaldcoeffQ,
+                             gmx::ArrayRef<const double> qsum,
+                             real                        lambda,
+                             const matrix                box,
+                             real*                       dvdlambda,
+                             tensor                      vir);
 
 #endif