accountFlops(nrnb, pairlistSet, *this, ic, stepWork);
}
-void nonbonded_verlet_t::dispatchFreeEnergyKernel(gmx::InteractionLocality iLocality,
- const t_forcerec* fr,
- rvec x[],
+void nonbonded_verlet_t::dispatchFreeEnergyKernel(gmx::InteractionLocality iLocality,
+ const t_forcerec& fr,
+ gmx::ArrayRef<const gmx::RVec> coords,
gmx::ForceWithShiftForces* forceWithShiftForces,
const t_mdatoms& mdatoms,
t_lambda* fepvals,
{
try
{
- gmx_nb_free_energy_kernel(nbl_fep[th].get(),
- x,
+ gmx_nb_free_energy_kernel(*nbl_fep[th],
+ coords,
forceWithShiftForces,
fr,
- &mdatoms,
+ mdatoms,
kernelFlags,
kernelLambda,
kernelDvdl,
{
try
{
- gmx_nb_free_energy_kernel(nbl_fep[th].get(),
- x,
+ gmx_nb_free_energy_kernel(*nbl_fep[th],
+ coords,
forceWithShiftForces,
fr,
- &mdatoms,
+ mdatoms,
kernelFlags,
kernelLambda,
kernelDvdl,