forked from lijiext/lammps
fix bug in bond style gromos/omp
This commit is contained in:
parent
1ec179e80a
commit
4c0ce402c1
src/USER-OMP
|
@ -103,7 +103,7 @@ void BondGromosOMP::eval(int nfrom, int nto, ThrData * const thr)
|
|||
|
||||
fbond = -4.0 * kdr;
|
||||
|
||||
if (EFLAG) ebond = kdr;
|
||||
if (EFLAG) ebond = kdr*dr;
|
||||
|
||||
// apply force to each of 2 atoms
|
||||
|
||||
|
|
Loading…
Reference in New Issue