git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11882 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp 2014-05-02 15:06:18 +00:00
parent 8e760279f7
commit 54633e6252
1 changed files with 4 additions and 0 deletions

View File

@ -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)