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