forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@4109 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
501157da07
commit
6a1e42fb41
|
@ -149,8 +149,8 @@ void PairDPD::compute(int eflag, int vflag)
|
|||
}
|
||||
|
||||
if (eflag) {
|
||||
// unshifted eng
|
||||
//evdwl = -a0[itype][jtype]*r * (1.0-0.5*r/cut[itype][jtype]);
|
||||
// unshifted eng of conservative term:
|
||||
// evdwl = -a0[itype][jtype]*r * (1.0-0.5*r/cut[itype][jtype]);
|
||||
// eng shifted to 0.0 at cutoff
|
||||
evdwl = 0.5*a0[itype][jtype]*cut[itype][jtype] * wd*wd;
|
||||
evdwl *= factor_dpd;
|
||||
|
|
Loading…
Reference in New Issue