git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10966 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -1433,7 +1433,7 @@ void Atom::delete_callback(const char *id, int flag)
|
|||||||
int match;
|
int match;
|
||||||
for (match = 0; match < nextra_restart; match++)
|
for (match = 0; match < nextra_restart; match++)
|
||||||
if (extra_restart[match] == ifix) break;
|
if (extra_restart[match] == ifix) break;
|
||||||
for (int i = ifix; i < nextra_restart-1; i++)
|
for (int i = match; i < nextra_restart-1; i++)
|
||||||
extra_restart[i] = extra_restart[i+1];
|
extra_restart[i] = extra_restart[i+1];
|
||||||
nextra_restart--;
|
nextra_restart--;
|
||||||
|
|
||||||
@ -1441,7 +1441,7 @@ void Atom::delete_callback(const char *id, int flag)
|
|||||||
int match;
|
int match;
|
||||||
for (match = 0; match < nextra_border; match++)
|
for (match = 0; match < nextra_border; match++)
|
||||||
if (extra_border[match] == ifix) break;
|
if (extra_border[match] == ifix) break;
|
||||||
for (int i = ifix; i < nextra_border-1; i++)
|
for (int i = match; i < nextra_border-1; i++)
|
||||||
extra_border[i] = extra_border[i+1];
|
extra_border[i] = extra_border[i+1];
|
||||||
nextra_border--;
|
nextra_border--;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user