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

This commit is contained in:
sjplimp
2008-10-22 15:52:45 +00:00
parent 0c0d735986
commit 467193795e
4 changed files with 41 additions and 15 deletions

View File

@ -131,7 +131,7 @@ void FixNVESphere::initial_integrate(int vflag)
double **shape = atom->shape;
int ntypes = atom->ntypes;
for (int i = 1; i <= ntypes; i++)
dttype[i] = dtfrotate / (0.25*shape[i][0]*shape[i][0]*mass[i]);
dttype[i] = dtfrotate / (shape[i][0]*shape[i][0]*mass[i]);
}
// update v,x,omega for all particles
@ -225,7 +225,7 @@ void FixNVESphere::final_integrate()
double **shape = atom->shape;
int ntypes = atom->ntypes;
for (int i = 1; i <= ntypes; i++)
dttype[i] = dtfrotate / (0.25*shape[i][0]*shape[i][0]*mass[i]);
dttype[i] = dtfrotate / (shape[i][0]*shape[i][0]*mass[i]);
}
if (mass) {