Unverified Commit d271ee65 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

Merge branch 'pair-tests-Aug3' of github.com:abhiShandy/lammps into pair-tests-Aug3

parents f3d7f0be ad6b37d6
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -130,7 +130,7 @@ double PairGaussOMP::eval(int iifrom, int iito, ThrData * const thr)


      if (rsq < cutsq[itype][jtype]) {
      if (rsq < cutsq[itype][jtype]) {
        r2inv = 1.0/rsq;
        r2inv = 1.0/rsq;
        forcelj = - 2.0*a[itype][jtype]*b[itype][jtype] * rsq *
        forcelj = - 2.0*a[itype][jtype]*b[itype][jtype] * sqrt(rsq) *
          exp(-b[itype][jtype]*rsq);
          exp(-b[itype][jtype]*rsq);
        fpair = factor_lj*forcelj*r2inv;
        fpair = factor_lj*forcelj*r2inv;