Commit 1ca928b3 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

dead code removal

parent a1bdea1d
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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;