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

This commit is contained in:
sjplimp
2011-01-04 21:08:27 +00:00
parent a7f69eac0c
commit c9495408a1
16 changed files with 69 additions and 61 deletions

View File

@ -536,7 +536,7 @@ void Velocity::zero_momentum()
{
// cannot have 0 atoms in group
if (group->count(igroup) == 0.0)
if (group->count(igroup) == 0)
error->all("Cannot zero momentum of 0 atoms");
// compute velocity of center-of-mass of group
@ -569,7 +569,7 @@ void Velocity::zero_rotation()
// cannot have 0 atoms in group
if (group->count(igroup) == 0.0)
if (group->count(igroup) == 0)
error->all("Cannot zero momentum of 0 atoms");
// compute omega (angular velocity) of group around center-of-mass