remove dead code
This commit is contained in:
@ -77,9 +77,7 @@ void PairPOD::compute(int eflag, int vflag)
|
||||
int *numneigh = list->numneigh;
|
||||
int *type = atom->type;
|
||||
int *ilist = list->ilist;
|
||||
int nlocal = atom->nlocal;
|
||||
int inum = list->inum;
|
||||
int nall = inum + atom->nghost;
|
||||
|
||||
// initialize global descriptors to zero
|
||||
|
||||
@ -110,10 +108,6 @@ void PairPOD::compute(int eflag, int vflag)
|
||||
typeai, idxi, ti, tj, 1, nij);
|
||||
}
|
||||
|
||||
int nd1 = podptr->pod.nd1;
|
||||
int nd2 = podptr->pod.nd2;
|
||||
int nd3 = podptr->pod.nd3;
|
||||
int nd4 = podptr->pod.nd4;
|
||||
int nd22 = podptr->pod.nd22;
|
||||
int nd23 = podptr->pod.nd23;
|
||||
int nd24 = podptr->pod.nd24;
|
||||
@ -322,5 +316,4 @@ void PairPOD::lammpsNeighPairs(double **x, int **firstneigh, int *atomtypes, int
|
||||
|
||||
numneighsum[0] = 0;
|
||||
numneighsum[1] = nij;
|
||||
|
||||
}
|
||||
|
||||
@ -444,7 +444,6 @@ void CPOD::read_pod(std::string pod_file)
|
||||
|
||||
char line[MAXLINE],*ptr;
|
||||
int eof = 0;
|
||||
int nwords = 0;
|
||||
while (true) {
|
||||
if (comm->me == 0) {
|
||||
ptr = fgets(line,MAXLINE,fppod);
|
||||
@ -769,7 +768,6 @@ void CPOD::read_coeff_file(std::string coeff_file)
|
||||
|
||||
// strip single and double quotes from words
|
||||
|
||||
int nelemtmp = 0;
|
||||
int ncoeffall;
|
||||
std::string tmp_str;
|
||||
try {
|
||||
@ -1675,7 +1673,6 @@ void snapInitSna(double *rootpqarray, double *cglist, double *factorial, int *id
|
||||
|
||||
void CPOD::snapSetup(int twojmax, int ntypes)
|
||||
{
|
||||
int backend = 1;
|
||||
sna.twojmax = twojmax;
|
||||
sna.ntypes = ntypes;
|
||||
|
||||
@ -1751,7 +1748,6 @@ void CPOD::InitSnap()
|
||||
int ntypes = pod.nelements;
|
||||
int chemflag = pod.snapchemflag;
|
||||
|
||||
int backend=1;
|
||||
int bzeroflag = 0;
|
||||
int switchflag = 1;
|
||||
int wselfallflag = 0;
|
||||
@ -2680,7 +2676,7 @@ void CPOD::pod3body(double *eatom, double *yij, double *e2ij, double *tmpmem, in
|
||||
{
|
||||
int dim = 3, nabf1 = nabf + 1;
|
||||
int nelements2 = nelements*(nelements+1)/2;
|
||||
int n, nijk, typei, typej, typek, ij, ik, i, j, k;
|
||||
int n, nijk, typei, typej, typek, ij, ik;
|
||||
|
||||
double xij1, xij2, xij3, xik1, xik2, xik3;
|
||||
double xdot, rijsq, riksq, rij, rik;
|
||||
|
||||
Reference in New Issue
Block a user