forked from lijiext/lammps
dead code removal
This commit is contained in:
parent
a1bdea1dd8
commit
1ca928b331
|
@ -530,10 +530,9 @@ while (ct-- > 0) {
|
|||
void FixShardlow::initial_integrate(int vflag)
|
||||
{
|
||||
int ii;
|
||||
int *ilist;
|
||||
|
||||
int nlocal = atom->nlocal;
|
||||
int nghost = atom->nghost;
|
||||
const int nlocal = atom->nlocal;
|
||||
const int nghost = atom->nghost;
|
||||
|
||||
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
|
||||
v_t0 = (double (*)[3]) memory->smalloc(sizeof(double)*3*nghost, "FixShardlow:v_t0");
|
||||
|
||||
ilist = list->ilist;
|
||||
dtsqrt = sqrt(update->dt);
|
||||
|
||||
// process neighbors in the local AIR
|
||||
|
|
|
@ -83,7 +83,7 @@ void PairLJCutCoulWolfOMP::eval(int iifrom, int iito, ThrData * const thr)
|
|||
int i,j,ii,jj,jnum,itype,jtype;
|
||||
double qitmp,xtmp,ytmp,ztmp,delx,dely,delz,evdwl,ecoul,fpair;
|
||||
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;
|
||||
|
||||
evdwl = ecoul = 0.0;
|
||||
|
|
Loading…
Reference in New Issue