git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11766 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2014-04-10 20:21:07 +00:00
parent e6edae3916
commit 0343052dc9
9 changed files with 81 additions and 74 deletions

View File

@ -266,8 +266,7 @@ void DeleteAtoms::delete_overlap(int narg, char **arg)
error->all(FLERR,"Delete_atoms cutoff > neighbor cutoff");
// setup domain, communication and neighboring
// acquire ghosts
// build neighbor list based on earlier request
// acquire ghosts and build standard neighbor lists
if (domain->triclinic) domain->x2lamda(atom->nlocal);
domain->pbc();
@ -277,6 +276,9 @@ void DeleteAtoms::delete_overlap(int narg, char **arg)
comm->exchange();
comm->borders();
if (domain->triclinic) domain->lamda2x(atom->nlocal+atom->nghost);
neighbor->build();
// build neighbor list this command needs based on earlier request
NeighList *list = neighbor->lists[irequest];
neighbor->build_one(irequest);