remove dead code

This commit is contained in:
Axel Kohlmeyer
2022-04-12 11:06:28 -04:00
parent e1a2423f2e
commit 929e46b5c7
2 changed files with 1 additions and 3 deletions

View File

@ -319,7 +319,6 @@ void FixBondHistory::shift_history(int i, int m, int k)
if (m == k) return; if (m == k) return;
double **stored = atom->darray[index]; double **stored = atom->darray[index];
int n = atom->num_bond[i];
for (int idata = 0; idata < ndata; idata ++) for (int idata = 0; idata < ndata; idata ++)
stored[i][m*ndata+idata] = stored[i][k*ndata+idata]; stored[i][m*ndata+idata] = stored[i][k*ndata+idata];
} }

View File

@ -85,11 +85,10 @@ void FixUpdateSpecialBonds::setup(int /*vflag*/)
void FixUpdateSpecialBonds::pre_exchange() void FixUpdateSpecialBonds::pre_exchange()
{ {
int i, j, key, m, n1, n3; int i, j, m, n1, n3;
tagint tagi, tagj; tagint tagi, tagj;
int nlocal = atom->nlocal; int nlocal = atom->nlocal;
tagint *tag = atom->tag;
tagint *slist; tagint *slist;
int **nspecial = atom->nspecial; int **nspecial = atom->nspecial;
tagint **special = atom->special; tagint **special = atom->special;