forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11882 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
8e760279f7
commit
54633e6252
|
@ -158,9 +158,13 @@ void ComputeTempAsphere::dof_compute()
|
|||
|
||||
if (tempbias == 1) {
|
||||
if (mode == ALL) dof -= tbias->dof_remove(-1) * natoms;
|
||||
|
||||
} else if (tempbias == 2) {
|
||||
int *mask = atom->mask;
|
||||
int nlocal = atom->nlocal;
|
||||
|
||||
tbias->dof_remove_pre();
|
||||
|
||||
int count = 0;
|
||||
for (int i = 0; i < nlocal; i++)
|
||||
if (mask[i] & groupbit)
|
||||
|
|
Loading…
Reference in New Issue