git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@91 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -583,7 +583,7 @@ void PairLJCharmmCoulLong::compute_outer(int eflag, int vflag)
|
||||
if (factor_coul < 1.0) {
|
||||
table = ptable[itable] + fraction*dptable[itable];
|
||||
prefactor = qtmp*q[j] * table;
|
||||
phicoul -= (1.0-factor_coul)*prefactor;
|
||||
forcecoul -= (1.0-factor_coul)*prefactor;
|
||||
}
|
||||
}
|
||||
} else forcecoul = 0.0;
|
||||
|
||||
@ -550,7 +550,7 @@ void PairLJCutCoulLong::compute_outer(int eflag, int vflag)
|
||||
if (factor_coul < 1.0) {
|
||||
table = ptable[itable] + fraction*dptable[itable];
|
||||
prefactor = qtmp*q[j] * table;
|
||||
phicoul -= (1.0-factor_coul)*prefactor;
|
||||
forcecoul -= (1.0-factor_coul)*prefactor;
|
||||
}
|
||||
}
|
||||
} else forcecoul = 0.0;
|
||||
|
||||
Reference in New Issue
Block a user