forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10676 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
a9230abf54
commit
52ec65d466
|
@ -1436,6 +1436,10 @@ void Pair::virial_fdotr_compute()
|
|||
}
|
||||
}
|
||||
|
||||
// prevent multiple calls to update the virial
|
||||
// when a hybrid pair style uses both a gpu and non-gpu pair style
|
||||
// or when respa is used with gpu pair styles
|
||||
|
||||
vflag_fdotr = 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue