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

This commit is contained in:
sjplimp
2008-10-22 15:52:29 +00:00
parent 18fa9f45a5
commit 0c0d735986
4 changed files with 85 additions and 24 deletions

View File

@ -66,7 +66,7 @@ void ComputeERotateSphere::init()
for (int i = 1; i <= atom->ntypes; i++) {
if (shape[i][0] != shape[i][1] || shape[i][0] != shape[i][2])
error->all("Compute erotate/sphere requires spherical particle shapes");
inertia[i] = 0.25*shape[i][0]*shape[i][0] * mass[i];
inertia[i] = shape[i][0]*shape[i][0] * mass[i];
}
}
}