git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@3255 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -784,9 +784,12 @@ void FixShake::find_clusters()
|
|||||||
// check if mass of either atom is in input mass_list
|
// check if mass of either atom is in input mass_list
|
||||||
// -----------------------------------------------------
|
// -----------------------------------------------------
|
||||||
|
|
||||||
|
int np;
|
||||||
|
|
||||||
for (i = 0; i < nlocal; i++) {
|
for (i = 0; i < nlocal; i++) {
|
||||||
nshake[i] = 0;
|
nshake[i] = 0;
|
||||||
for (j = 0; j < npartner[i]; j++) {
|
np = npartner[i];
|
||||||
|
for (j = 0; j < np; j++) {
|
||||||
partner_shake[i][j] = 0;
|
partner_shake[i][j] = 0;
|
||||||
|
|
||||||
if (!(mask[i] & groupbit)) continue;
|
if (!(mask[i] & groupbit)) continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user