git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11017 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -369,7 +369,7 @@ void FixRigidSmall::setup(int vflag)
|
||||
double **x = atom->x;
|
||||
double **f = atom->f;
|
||||
int *type = atom->type;
|
||||
int *image = atom->image;
|
||||
tagint *image = atom->image;
|
||||
int nlocal = atom->nlocal;
|
||||
|
||||
double *xcm,*fcm,*tcm;
|
||||
@ -1224,7 +1224,7 @@ void FixRigidSmall::create_bodies()
|
||||
|
||||
// error check on image flags of atoms in rigid bodies
|
||||
|
||||
int *image = atom->image;
|
||||
tagint *image = atom->image;
|
||||
int *mask = atom->mask;
|
||||
int nlocal = atom->nlocal;
|
||||
|
||||
@ -1474,7 +1474,7 @@ void FixRigidSmall::ring_nearest(int n, char *cbuf)
|
||||
void FixRigidSmall::ring_farthest(int n, char *cbuf)
|
||||
{
|
||||
double **x = frsptr->atom->x;
|
||||
int *image = frsptr->atom->image;
|
||||
tagint *image = frsptr->atom->image;
|
||||
int nlocal = frsptr->atom->nlocal;
|
||||
|
||||
double *buf = (double *) cbuf;
|
||||
@ -2017,7 +2017,7 @@ void FixRigidSmall::setup_bodies_dynamic()
|
||||
double *rmass = atom->rmass;
|
||||
double *mass = atom->mass;
|
||||
int *type = atom->type;
|
||||
int *image = atom->image;
|
||||
tagint *image = atom->image;
|
||||
int nlocal = atom->nlocal;
|
||||
|
||||
double *xcm,*vcm,*acm;
|
||||
@ -2797,9 +2797,9 @@ void FixRigidSmall::unpack_reverse_comm(int n, int *list, double *buf)
|
||||
j = list[i];
|
||||
if (bodyown[j] < 0) continue;
|
||||
k = bodyown[j];
|
||||
counts[k][0] += buf[m++];
|
||||
counts[k][1] += buf[m++];
|
||||
counts[k][2] += buf[m++];
|
||||
counts[k][0] += static_cast<int> (buf[m++]);
|
||||
counts[k][1] += static_cast<int> (buf[m++]);
|
||||
counts[k][2] += static_cast<int> (buf[m++]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -565,7 +565,7 @@ void Domain::image_check()
|
||||
memory->create(unwrap,atom->nmax,3,"domain:unwrap");
|
||||
|
||||
double **x = atom->x;
|
||||
int *image = atom->image;
|
||||
tagint *image = atom->image;
|
||||
int nlocal = atom->nlocal;
|
||||
|
||||
for (i = 0; i < nlocal; i++)
|
||||
|
||||
@ -387,7 +387,7 @@ void Set::command(int narg, char **arg)
|
||||
} else if (strstr(arg[iarg],"i_") == arg[iarg]) {
|
||||
if (iarg+2 > narg) error->all(FLERR,"Illegal set command");
|
||||
if (strstr(arg[iarg+1],"v_") == arg[iarg+1]) varparse(arg[iarg+1],1);
|
||||
else ivalue = force->numeric(FLERR,arg[iarg+1]);
|
||||
else ivalue = force->inumeric(FLERR,arg[iarg+1]);
|
||||
int flag;
|
||||
index_custom = atom->find_custom(&arg[iarg][2],flag);
|
||||
if (index_custom < 0 || flag != 0)
|
||||
|
||||
Reference in New Issue
Block a user