git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@1622 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -65,7 +65,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 rotate requires spherical particle shapes");
|
||||
error->all("Compute erotate/sphere requires spherical particle shapes");
|
||||
inertia[i] = 0.25*shape[i][0]*shape[i][0] * mass[i];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user