forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@1159 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
9e157db3d2
commit
51201e0a8e
|
@ -148,7 +148,7 @@ void FixWallLJ126::post_force(int vflag)
|
|||
fwall = r6inv*(coeff1*r6inv - coeff2) * side;
|
||||
f[i][dim] -= fwall;
|
||||
wall[0] += r6inv*(coeff3*r6inv - coeff4) - offset;
|
||||
wall[dim] += fwall;
|
||||
wall[dim+1] += fwall;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -146,7 +146,7 @@ void FixWallLJ93::post_force(int vflag)
|
|||
fwall = (coeff1*r10inv - coeff2*r4inv) * side;
|
||||
f[i][dim] -= fwall;
|
||||
wall[0] += coeff3*r4inv*r4inv*rinv - coeff4*r2inv*rinv - offset;
|
||||
wall[dim] += fwall;
|
||||
wall[dim+1] += fwall;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue