forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11236 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
a5a0f79217
commit
59a0c577db
|
@ -655,6 +655,7 @@ void Domain::box_too_small_check()
|
|||
|
||||
int *num_bond = atom->num_bond;
|
||||
int **bond_atom = atom->bond_atom;
|
||||
int **bond_type = atom->bond_type;
|
||||
double **x = atom->x;
|
||||
int nlocal = atom->nlocal;
|
||||
|
||||
|
@ -666,7 +667,7 @@ void Domain::box_too_small_check()
|
|||
|
||||
for (i = 0; i < nlocal; i++)
|
||||
for (j = 0; j < num_bond[i]; j++) {
|
||||
if (bond_type[i][m] <= 0) continue;
|
||||
if (bond_type[i][j] <= 0) continue;
|
||||
k = atom->map(bond_atom[i][j]);
|
||||
if (k == -1) {
|
||||
nmissing++;
|
||||
|
|
Loading…
Reference in New Issue