dead code removal
This commit is contained in:
@ -148,7 +148,7 @@ int ComputeBondLocal::compute_bonds(int flag)
|
||||
double vvib,vrotsq;
|
||||
double inertia,omegasq;
|
||||
double mvv2e;
|
||||
double engpot,engtrans,engvib,engrot,engtot,fbond;
|
||||
double engpot,engtrans,engvib,engrot,fbond;
|
||||
double *ptr;
|
||||
|
||||
double **x = atom->x;
|
||||
|
||||
@ -874,7 +874,7 @@ void Dump::modify_params(int narg, char **arg)
|
||||
format_float_user = NULL;
|
||||
// pass format none to child classes which may use it
|
||||
// not an error if they don't
|
||||
int n = modify_param(narg-iarg,&arg[iarg]);
|
||||
modify_param(narg-iarg,&arg[iarg]);
|
||||
iarg += 2;
|
||||
continue;
|
||||
}
|
||||
|
||||
@ -194,10 +194,8 @@ void FixHalt::post_run()
|
||||
double FixHalt::bondmax()
|
||||
{
|
||||
double **x = atom->x;
|
||||
double **f = atom->f;
|
||||
int **bondlist = neighbor->bondlist;
|
||||
int nbondlist = neighbor->nbondlist;
|
||||
int nlocal = atom->nlocal;
|
||||
|
||||
int i1,i2;
|
||||
double delx,dely,delz,rsq;
|
||||
|
||||
@ -232,8 +232,8 @@ void Neighbor::skip_from_granular(NeighList *list)
|
||||
{
|
||||
int i,j,ii,jj,m,n,nn,itype,jnum,joriginal,dnum,dnumbytes;
|
||||
tagint jtag;
|
||||
int *neighptr,*jlist,*touchptr,*touchptr_skip;
|
||||
double *shearptr,*shearptr_skip;
|
||||
int *neighptr,*jlist,*touchptr;
|
||||
double *shearptr;
|
||||
|
||||
NeighList *listgranhistory;
|
||||
int *npartner;
|
||||
@ -364,8 +364,8 @@ void Neighbor::skip_from_granular_off2on(NeighList *list)
|
||||
{
|
||||
int i,j,ii,jj,m,n,nn,itype,jnum,joriginal,dnum,dnumbytes;
|
||||
tagint itag,jtag;
|
||||
int *neighptr,*jlist,*touchptr,*touchptr_skip;
|
||||
double *shearptr,*shearptr_skip;
|
||||
int *neighptr,*jlist,*touchptr;
|
||||
double *shearptr;
|
||||
|
||||
NeighList *listgranhistory;
|
||||
int *npartner;
|
||||
@ -502,8 +502,8 @@ void Neighbor::skip_from_granular_off2on(NeighList *list)
|
||||
void Neighbor::skip_from_granular_off2on_onesided(NeighList *list)
|
||||
{
|
||||
int i,j,ii,jj,m,n,nn,itype,jnum,joriginal,flip,dnum,dnumbytes,tmp;
|
||||
tagint itag,jtag;
|
||||
int *surf,*neighptr,*jlist;
|
||||
tagint jtag;
|
||||
int *surf,*jlist;
|
||||
|
||||
NeighList *listgranhistory;
|
||||
int *npartner;
|
||||
@ -571,7 +571,6 @@ void Neighbor::skip_from_granular_off2on_onesided(NeighList *list)
|
||||
i = ilist_skip[ii];
|
||||
itype = type[i];
|
||||
if (iskip[itype]) continue;
|
||||
itag = tag[i];
|
||||
|
||||
n = 0;
|
||||
|
||||
@ -625,7 +624,6 @@ void Neighbor::skip_from_granular_off2on_onesided(NeighList *list)
|
||||
i = ilist_skip[ii];
|
||||
itype = type[i];
|
||||
if (iskip[itype]) continue;
|
||||
itag = tag[i];
|
||||
|
||||
// loop over parent non-skip granular list and optionally its history info
|
||||
|
||||
|
||||
@ -517,7 +517,6 @@ void Region::set_velocity()
|
||||
|
||||
void Region::velocity_contact(double *vwall, double *x, int ic)
|
||||
{
|
||||
Contact c = contact[ic];
|
||||
double xc[3];
|
||||
|
||||
vwall[0] = vwall[1] = vwall[2] = 0.0;
|
||||
|
||||
Reference in New Issue
Block a user