forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12039 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
f089c205de
commit
8ac75c42a4
|
@ -244,7 +244,9 @@ FixMove::FixMove(LAMMPS *lmp, int narg, char **arg) :
|
|||
|
||||
maxatom = atom->nmax;
|
||||
if (displaceflag) memory->create(displace,maxatom,3,"move:displace");
|
||||
else displace = NULL;
|
||||
if (velocityflag) memory->create(velocity,maxatom,3,"move:velocity");
|
||||
else velocity = NULL;
|
||||
|
||||
// xoriginal = initial unwrapped positions of atoms
|
||||
|
||||
|
|
Loading…
Reference in New Issue