forked from lijiext/lammps
Set Coulomb summation cutoff radii in the case it is explicitly specified.
This commit is contained in:
parent
93f531441a
commit
6a60dad2c3
|
@ -217,7 +217,8 @@ void PairLJCutCoulWolf::settings(int narg, char **arg)
|
|||
|
||||
alf = force->numeric(FLERR,arg[0]);
|
||||
cut_lj_global = force->numeric(FLERR,arg[1]);
|
||||
if (narg == 2) cut_coul = cut_lj_global;
|
||||
if (narg == 3) cut_coul = force->numeric(FLERR,arg[2]);
|
||||
else cut_coul = cut_lj_global;
|
||||
|
||||
if (allocated) {
|
||||
int i,j;
|
||||
|
|
Loading…
Reference in New Issue