git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@1159 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp 2007-11-13 22:39:12 +00:00
parent 9e157db3d2
commit 51201e0a8e
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}
}

View File

@ -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;
}
}