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

This commit is contained in:
sjplimp
2007-06-21 18:58:43 +00:00
parent 59dda9f04b
commit ff535daa9f
46 changed files with 80 additions and 54 deletions

View File

@ -37,7 +37,7 @@ FixNVEASphere::FixNVEASphere(LAMMPS *lmp, int narg, char **arg) :
Fix(lmp, narg, arg)
{
if (narg < 3) error->all("Illegal fix nve/asphere command");
if (atom->quat == NULL || atom->angmom == NULL || atom->torque == NULL)
if (!atom->quat_flag || !atom->angmom_flag || !atom->torque_flag)
error->all("Fix nve/asphere requires atom attributes "
"quat, angmom, torque");
inertia =