git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15083 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -309,7 +309,7 @@ void ComputeTempCS::vcm_pairs()
|
||||
|
||||
int nlocal = atom->nlocal;
|
||||
|
||||
if (nlocal > maxatom) {
|
||||
if (atom->nmax > maxatom) {
|
||||
memory->destroy(vint);
|
||||
maxatom = atom->nmax;
|
||||
memory->create(vint,maxatom,3,"temp/cs:vint");
|
||||
|
||||
Reference in New Issue
Block a user