git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@371 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -96,7 +96,7 @@ void FixDrag::post_force(int vflag)
|
||||
if (!xflag) dx = 0.0;
|
||||
if (!yflag) dy = 0.0;
|
||||
if (!zflag) dz = 0.0;
|
||||
domain->minimum_image(&dx,&dy,&dz);
|
||||
domain->minimum_image(dx,dy,dz);
|
||||
r = sqrt(dx*dx + dy*dy + dz*dz);
|
||||
if (r > delta) {
|
||||
prefactor = f_mag/r;
|
||||
|
||||
Reference in New Issue
Block a user