forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@6474 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
5267e31f32
commit
3cb626773c
File diff suppressed because one or more lines are too long
|
@ -380,7 +380,7 @@ double PairDPD::single(int i, int j, int itype, int jtype, double rsq,
|
|||
rinv = 1.0/r;
|
||||
wd = 1.0 - r/cut[itype][jtype];
|
||||
fforce = a0[itype][jtype]*wd * factor_dpd*rinv;
|
||||
|
||||
phi = -a0[itype][jtype] * r * (1.0 - 0.5*r/cut[itype][jtype]);
|
||||
|
||||
phi = 0.5*a0[itype][jtype]*cut[itype][jtype] * wd*wd;
|
||||
return factor_dpd*phi;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue