Fixing remaining wrong indexing of rmass in nve/kk.

This commit is contained in:
Denis Taniguchi 2019-07-26 12:46:04 +01:00
parent 179b507107
commit ca1fece850
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ KOKKOS_INLINE_FUNCTION
void FixNVEKokkos<DeviceType>::final_integrate_rmass_item(int i) const
{
if (mask[i] & groupbit) {
const double dtfm = dtf / rmass[type[i]];
const double dtfm = dtf / rmass[i];
v(i,0) += dtfm * f(i,0);
v(i,1) += dtfm * f(i,1);
v(i,2) += dtfm * f(i,2);