git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5845 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -885,7 +885,7 @@ void FixMove::set_arrays(int i)
|
||||
// backup particle to time_origin
|
||||
|
||||
if (mstyle == VARIABLE)
|
||||
error->all("Cannot add atoms to fix move variable after");
|
||||
error->all("Cannot add atoms to fix move variable");
|
||||
|
||||
domain->unmap(x[i],image[i],xoriginal[i]);
|
||||
double delta = (update->ntimestep - time_origin) * update->dt;
|
||||
|
||||
@ -121,7 +121,8 @@ void NeighList::grow(int nmax)
|
||||
|
||||
memory->destroy(ilist);
|
||||
memory->destroy(numneigh);
|
||||
memory->destroy(firstneigh);
|
||||
memory->sfree(firstneigh);
|
||||
|
||||
memory->create(ilist,maxatoms,"neighlist:ilist");
|
||||
memory->create(numneigh,maxatoms,"neighlist:numneigh");
|
||||
firstneigh = (int **) memory->smalloc(maxatoms*sizeof(int *),
|
||||
|
||||
Reference in New Issue
Block a user