sync with Git
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15519 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -28,7 +28,8 @@ enum{ONCE,NFREQ,EVERY};
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
ComputeVCMChunk::ComputeVCMChunk(LAMMPS *lmp, int narg, char **arg) :
|
||||
Compute(lmp, narg, arg)
|
||||
Compute(lmp, narg, arg),
|
||||
idchunk(NULL), massproc(NULL), masstotal(NULL), vcm(NULL), vcmall(NULL)
|
||||
{
|
||||
if (narg != 4) error->all(FLERR,"Illegal compute vcm/chunk command");
|
||||
|
||||
@ -50,8 +51,6 @@ ComputeVCMChunk::ComputeVCMChunk(LAMMPS *lmp, int narg, char **arg) :
|
||||
|
||||
nchunk = 1;
|
||||
maxchunk = 0;
|
||||
massproc = masstotal = NULL;
|
||||
vcm = vcmall = NULL;
|
||||
allocate();
|
||||
|
||||
firstflag = massneed = 1;
|
||||
|
||||
Reference in New Issue
Block a user