forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8787 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
ea0ce8fec7
commit
52626080b7
|
@ -284,7 +284,7 @@ double PairBornCoulLong::init_one(int i, int j)
|
|||
born3[i][j] = 8.0*d[i][j];
|
||||
|
||||
if (offset_flag) {
|
||||
double rexp = exp(-cut_lj[i][j]*rhoinv[i][j]);
|
||||
double rexp = exp((sigma[i][j]-cut[i][j])*rhoinv[i][j]);
|
||||
offset[i][j] = a[i][j]*rexp - c[i][j]/pow(cut_lj[i][j],6.0) +
|
||||
d[i][j]/pow(cut_lj[i][j],8.0);
|
||||
} else offset[i][j] = 0.0;
|
||||
|
|
Loading…
Reference in New Issue