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

This commit is contained in:
sjplimp
2007-06-20 13:17:59 +00:00
parent bde732bced
commit aaed6ebc33
131 changed files with 4277 additions and 2222 deletions

View File

@ -44,9 +44,9 @@ FixWallGran::FixWallGran(LAMMPS *lmp, int narg, char **arg) :
Fix(lmp, narg, arg)
{
if (narg < 4) error->all("Illegal fix wall/gran command");
if (atom->check_style("granular") == 0)
error->all("Must use fix wall/gran with atom style granular");
if (atom->radius == NULL || atom->omega == NULL || atom->torque == NULL)
error->all("Fix wall/gran requires atom attributes radius, omega, torque");
restart_peratom = 1;