Skip to content

Commit

Permalink
Update pair_ufm.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
plrodolfo authored Jan 4, 2019
1 parent 56f056f commit 2274c05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pair_ufm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ void PairUFM::compute(int eflag, int vflag)

if (rsq < cutsq[itype][jtype]) {
expuf = exp(- rsq * uf2[itype][jtype]);
fpair = factor * uf1[itype][jtype] * expuf /(1.0 - expuf) * fscale[itype][jtype] * scale[itype][jtype];
fpair = factor * fscale[itype][jtype] * scale[itype][jtype] * uf1[itype][jtype] * expuf/(1.0 - expuf);

f[i][0] += delx*fpair;
f[i][1] += dely*fpair;
Expand Down

0 comments on commit 2274c05

Please sign in to comment.