git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12309 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -157,8 +157,8 @@ int ComputeBondLocal::compute_bonds(int flag)
|
|||||||
atom2 = atom->map(bond_atom[atom1][i]);
|
atom2 = atom->map(bond_atom[atom1][i]);
|
||||||
} else {
|
} else {
|
||||||
tagprev = tag[atom1] - iatom - 1;
|
tagprev = tag[atom1] - iatom - 1;
|
||||||
btype = atom->map(onemols[imol]->bond_type[atom1][i]);
|
btype = atom->map(onemols[imol]->bond_type[iatom][i]);
|
||||||
atom2 = atom->map(onemols[imol]->bond_atom[atom1][i]+tagprev);
|
atom2 = atom->map(onemols[imol]->bond_atom[iatom][i]+tagprev);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (atom2 < 0 || !(mask[atom2] & groupbit)) continue;
|
if (atom2 < 0 || !(mask[atom2] & groupbit)) continue;
|
||||||
|
|||||||
@ -766,7 +766,7 @@ void DumpImage::create_image()
|
|||||||
atom2 = atom->map(bond_atom[atom1][m]);
|
atom2 = atom->map(bond_atom[atom1][m]);
|
||||||
} else {
|
} else {
|
||||||
tagprev = tag[i] - iatom - 1;
|
tagprev = tag[i] - iatom - 1;
|
||||||
btype = atom->map(onemols[imol]->bond_type[atom1][m]);
|
btype = atom->map(onemols[imol]->bond_type[iatom][m]);
|
||||||
atom2 = atom->map(onemols[imol]->bond_atom[iatom][m]+tagprev);
|
atom2 = atom->map(onemols[imol]->bond_atom[iatom][m]+tagprev);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user