remove unused variable declarations
This commit is contained in:
@ -48,7 +48,7 @@ void NPairHalfSizeMultiOldNewtoffOmp::build(NeighList *list)
|
|||||||
#endif
|
#endif
|
||||||
NPAIR_OMP_SETUP(nlocal);
|
NPAIR_OMP_SETUP(nlocal);
|
||||||
|
|
||||||
int i,j,k,m,n,itype,jtype,ibin,ns;
|
int i,j,k,n,itype,jtype,ibin,ns;
|
||||||
double xtmp,ytmp,ztmp,delx,dely,delz,rsq;
|
double xtmp,ytmp,ztmp,delx,dely,delz,rsq;
|
||||||
double radi,radsum,cutdistsq;
|
double radi,radsum,cutdistsq;
|
||||||
int *neighptr,*s;
|
int *neighptr,*s;
|
||||||
|
|||||||
@ -47,7 +47,7 @@ void NPairHalfSizeMultiOldNewtonOmp::build(NeighList *list)
|
|||||||
#endif
|
#endif
|
||||||
NPAIR_OMP_SETUP(nlocal);
|
NPAIR_OMP_SETUP(nlocal);
|
||||||
|
|
||||||
int i,j,k,m,n,itype,jtype,ibin,ns;
|
int i,j,k,n,itype,jtype,ibin,ns;
|
||||||
double xtmp,ytmp,ztmp,delx,dely,delz,rsq;
|
double xtmp,ytmp,ztmp,delx,dely,delz,rsq;
|
||||||
double radi,radsum,cutdistsq;
|
double radi,radsum,cutdistsq;
|
||||||
int *neighptr,*s;
|
int *neighptr,*s;
|
||||||
|
|||||||
@ -47,7 +47,7 @@ void NPairHalfSizeMultiOldNewtonTriOmp::build(NeighList *list)
|
|||||||
#endif
|
#endif
|
||||||
NPAIR_OMP_SETUP(nlocal);
|
NPAIR_OMP_SETUP(nlocal);
|
||||||
|
|
||||||
int i,j,k,m,n,itype,jtype,ibin,ns;
|
int i,j,k,n,itype,jtype,ibin,ns;
|
||||||
double xtmp,ytmp,ztmp,delx,dely,delz,rsq;
|
double xtmp,ytmp,ztmp,delx,dely,delz,rsq;
|
||||||
double radi,radsum,cutdistsq;
|
double radi,radsum,cutdistsq;
|
||||||
int *neighptr,*s;
|
int *neighptr,*s;
|
||||||
|
|||||||
@ -2511,8 +2511,7 @@ void Neighbor::modify_params(int narg, char **arg)
|
|||||||
if (iarg+1+ncollections > narg)
|
if (iarg+1+ncollections > narg)
|
||||||
error->all(FLERR,"Invalid collection/interval command");
|
error->all(FLERR,"Invalid collection/interval command");
|
||||||
|
|
||||||
int ntypes = atom->ntypes;
|
int i;
|
||||||
int n, nlo, nhi, i, j;
|
|
||||||
|
|
||||||
// Invalidate old user cutoffs
|
// Invalidate old user cutoffs
|
||||||
comm->ncollections_cutoff = 0;
|
comm->ncollections_cutoff = 0;
|
||||||
@ -2521,7 +2520,7 @@ void Neighbor::modify_params(int narg, char **arg)
|
|||||||
memory->grow(collection2cut,ncollections,"neigh:collection2cut");
|
memory->grow(collection2cut,ncollections,"neigh:collection2cut");
|
||||||
|
|
||||||
// Set upper cutoff for each collection
|
// Set upper cutoff for each collection
|
||||||
char *id;
|
|
||||||
double cut_interval;
|
double cut_interval;
|
||||||
for (i = 0; i < ncollections; i++){
|
for (i = 0; i < ncollections; i++){
|
||||||
cut_interval = utils::numeric(FLERR,arg[iarg+2+i],false,lmp);
|
cut_interval = utils::numeric(FLERR,arg[iarg+2+i],false,lmp);
|
||||||
|
|||||||
@ -49,7 +49,7 @@ void NStencilFullMulti2d::set_stencil_properties()
|
|||||||
|
|
||||||
void NStencilFullMulti2d::create()
|
void NStencilFullMulti2d::create()
|
||||||
{
|
{
|
||||||
int icollection, jcollection, bin_collection, i, j, k, ns;
|
int icollection, jcollection, bin_collection, i, j, ns;
|
||||||
int n = ncollections;
|
int n = ncollections;
|
||||||
double cutsq;
|
double cutsq;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user