dead code removal

This commit is contained in:
Axel Kohlmeyer 2018-03-05 20:33:19 -05:00
parent a1bdea1dd8
commit 1ca928b331
2 changed files with 3 additions and 5 deletions

View File

@ -530,10 +530,9 @@ while (ct-- > 0) {
void FixShardlow::initial_integrate(int vflag) void FixShardlow::initial_integrate(int vflag)
{ {
int ii; int ii;
int *ilist;
int nlocal = atom->nlocal; const int nlocal = atom->nlocal;
int nghost = atom->nghost; const int nghost = atom->nghost;
const bool useDPDE = (pairDPDE != NULL); const bool useDPDE = (pairDPDE != NULL);
@ -592,7 +591,6 @@ void FixShardlow::initial_integrate(int vflag)
// Allocate memory for v_t0 to hold the initial velocities for the ghosts // Allocate memory for v_t0 to hold the initial velocities for the ghosts
v_t0 = (double (*)[3]) memory->smalloc(sizeof(double)*3*nghost, "FixShardlow:v_t0"); v_t0 = (double (*)[3]) memory->smalloc(sizeof(double)*3*nghost, "FixShardlow:v_t0");
ilist = list->ilist;
dtsqrt = sqrt(update->dt); dtsqrt = sqrt(update->dt);
// process neighbors in the local AIR // process neighbors in the local AIR

View File

@ -83,7 +83,7 @@ void PairLJCutCoulWolfOMP::eval(int iifrom, int iito, ThrData * const thr)
int i,j,ii,jj,jnum,itype,jtype; int i,j,ii,jj,jnum,itype,jtype;
double qitmp,xtmp,ytmp,ztmp,delx,dely,delz,evdwl,ecoul,fpair; double qitmp,xtmp,ytmp,ztmp,delx,dely,delz,evdwl,ecoul,fpair;
double r,rsq,r2inv,r6inv,forcecoul,forcelj,factor_coul,factor_lj; double r,rsq,r2inv,r6inv,forcecoul,forcelj,factor_coul,factor_lj;
double prefactor,erfcc,erfcd,v_sh,dvdrr,e_self,qisq; double prefactor,erfcc,erfcd,v_sh,dvdrr,e_self;
int *ilist,*jlist,*numneigh,**firstneigh; int *ilist,*jlist,*numneigh,**firstneigh;
evdwl = ecoul = 0.0; evdwl = ecoul = 0.0;