silence compiler warnings about unused variables
This commit is contained in:
@ -54,8 +54,6 @@ class FixStorePeratom : public Fix {
|
||||
int n2, n3; // size of 3d dims of per-atom data struct
|
||||
int nvalues; // number of per-atom values
|
||||
int nbytes; // number of per-atom bytes
|
||||
|
||||
double *rbuf; // restart buffer for GLOBAL vec/array/tensor
|
||||
};
|
||||
|
||||
} // namespace LAMMPS_NS
|
||||
|
||||
@ -1354,7 +1354,7 @@ void Neighbor::morph_granular()
|
||||
|
||||
void Neighbor::morph_halffull()
|
||||
{
|
||||
int i,j,jj,jmin;
|
||||
int i,j,jj;
|
||||
NeighRequest *irq,*jrq;
|
||||
double icut,jcut;
|
||||
|
||||
@ -1438,7 +1438,7 @@ void Neighbor::morph_halffull()
|
||||
|
||||
void Neighbor::morph_copy_trim()
|
||||
{
|
||||
int i,j,jj,jmin,inewton,jnewton;
|
||||
int i,j,jj,inewton,jnewton;
|
||||
NeighRequest *irq,*jrq;
|
||||
double icut,jcut;
|
||||
|
||||
|
||||
@ -33,7 +33,7 @@ void NPairTrim::build(NeighList *list)
|
||||
|
||||
double cutsq_custom = cutoff_custom * cutoff_custom;
|
||||
|
||||
int i,j,ii,jj,n,jnum,joriginal;
|
||||
int ii,jj,n,jnum,joriginal;
|
||||
int *neighptr,*jlist;
|
||||
double xtmp,ytmp,ztmp;
|
||||
double delx,dely,delz,rsq;
|
||||
@ -71,7 +71,7 @@ void NPairTrim::build(NeighList *list)
|
||||
|
||||
for (jj = 0; jj < jnum; jj++) {
|
||||
joriginal = jlist[jj];
|
||||
j = joriginal & NEIGHMASK;
|
||||
const int j = joriginal & NEIGHMASK;
|
||||
|
||||
delx = xtmp - x[j][0];
|
||||
dely = ytmp - x[j][1];
|
||||
|
||||
Reference in New Issue
Block a user