remove dead code

This commit is contained in:
Axel Kohlmeyer
2021-05-09 17:44:23 -04:00
parent bffee8dd6a
commit 6d9309b76d

View File

@ -133,16 +133,6 @@ void PairLJCharmmCoulCharmmGPU::init_style()
error->all(FLERR,
"Cannot use newton pair with lj/charmm/coul/long/gpu pair style");
// Repeat cutsq calculation because done after call to init_style
double cut;
for (int i = 1; i <= atom->ntypes; i++) {
for (int j = i; j <= atom->ntypes; j++) {
if (setflag[i][j] != 0 || (setflag[i][i] != 0 && setflag[j][j] != 0))
cut = init_one(i,j);
}
}
cut_lj_innersq = cut_lj_inner * cut_lj_inner;
cut_coul_innersq = cut_coul_inner * cut_coul_inner;
cut_ljsq = cut_lj * cut_lj;