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

This commit is contained in:
sjplimp
2011-06-30 20:10:18 +00:00
parent 40ac5cd2fb
commit aedbb28b6c
86 changed files with 97 additions and 193 deletions

View File

@ -39,8 +39,6 @@ FixNHSphere::FixNHSphere(LAMMPS *lmp, int narg, char **arg) :
void FixNHSphere::init()
{
int i,itype;
// check that all particles are finite-size
// no point particles allowed
@ -48,7 +46,7 @@ void FixNHSphere::init()
int *mask = atom->mask;
int nlocal = atom->nlocal;
for (i = 0; i < nlocal; i++)
for (int i = 0; i < nlocal; i++)
if (mask[i] & groupbit)
if (radius[i] == 0.0)
error->one("Fix nvt/sphere requires extended particles");