remove dead code
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user