Skip to content
Snippets Groups Projects
Commit 1202c2a2 authored by sjplimp's avatar sjplimp
Browse files

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5845 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent 521dfd2e
No related branches found
No related tags found
No related merge requests found
...@@ -885,7 +885,7 @@ void FixMove::set_arrays(int i) ...@@ -885,7 +885,7 @@ void FixMove::set_arrays(int i)
// backup particle to time_origin // backup particle to time_origin
if (mstyle == VARIABLE) 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]); domain->unmap(x[i],image[i],xoriginal[i]);
double delta = (update->ntimestep - time_origin) * update->dt; double delta = (update->ntimestep - time_origin) * update->dt;
......
...@@ -121,7 +121,8 @@ void NeighList::grow(int nmax) ...@@ -121,7 +121,8 @@ void NeighList::grow(int nmax)
memory->destroy(ilist); memory->destroy(ilist);
memory->destroy(numneigh); memory->destroy(numneigh);
memory->destroy(firstneigh); memory->sfree(firstneigh);
memory->create(ilist,maxatoms,"neighlist:ilist"); memory->create(ilist,maxatoms,"neighlist:ilist");
memory->create(numneigh,maxatoms,"neighlist:numneigh"); memory->create(numneigh,maxatoms,"neighlist:numneigh");
firstneigh = (int **) memory->smalloc(maxatoms*sizeof(int *), firstneigh = (int **) memory->smalloc(maxatoms*sizeof(int *),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment