git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@638 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user