git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7003 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -32,7 +32,7 @@ FixNHSphere::FixNHSphere(LAMMPS *lmp, int narg, char **arg) :
|
||||
FixNH(lmp, narg, arg)
|
||||
{
|
||||
if (!atom->sphere_flag)
|
||||
error->all("Fix nvt/nph/npt sphere requires atom style sphere");
|
||||
error->all(FLERR,"Fix nvt/nph/npt sphere requires atom style sphere");
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
@ -49,7 +49,7 @@ void FixNHSphere::init()
|
||||
for (int i = 0; i < nlocal; i++)
|
||||
if (mask[i] & groupbit)
|
||||
if (radius[i] == 0.0)
|
||||
error->one("Fix nvt/sphere requires extended particles");
|
||||
error->one(FLERR,"Fix nvt/sphere requires extended particles");
|
||||
|
||||
FixNH::init();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user