forked from lijiext/lammps
Fixing remaining wrong indexing of rmass in nve/kk.
This commit is contained in:
parent
179b507107
commit
ca1fece850
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue