git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15283 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -96,12 +96,12 @@ void Improper::ev_setup(int eflag, int vflag)
|
||||
if (eflag_atom && atom->nmax > maxeatom) {
|
||||
maxeatom = atom->nmax;
|
||||
memory->destroy(eatom);
|
||||
memory->create(eatom,comm->nthreads*maxeatom,"bond:eatom");
|
||||
memory->create(eatom,comm->nthreads*maxeatom,"improper:eatom");
|
||||
}
|
||||
if (vflag_atom && atom->nmax > maxvatom) {
|
||||
maxvatom = atom->nmax;
|
||||
memory->destroy(vatom);
|
||||
memory->create(vatom,comm->nthreads*maxvatom,6,"bond:vatom");
|
||||
memory->create(vatom,comm->nthreads*maxvatom,6,"improper:vatom");
|
||||
}
|
||||
|
||||
// zero accumulators
|
||||
|
||||
Reference in New Issue
Block a user