remove sphere_flag and replace with radius_flag and omega_flag as needed

This commit is contained in:
Axel Kohlmeyer
2024-01-19 12:50:31 -05:00
parent 54794a45de
commit 0d8f549e33
37 changed files with 80 additions and 72 deletions

View File

@ -40,8 +40,10 @@ ComputeErotateSphereAtom(LAMMPS *lmp, int narg, char **arg) :
// error check
if (!atom->sphere_flag)
error->all(FLERR,"Compute erotate/sphere/atom requires atom style sphere");
if (!atom->omega_flag)
error->all(FLERR,"Compute erotate/sphere/atom requires atom attribute omega");
if (!atom->radius_flag)
error->all(FLERR,"Compute erotate/sphere/atom requires atom attribute radius");
nmax = 0;
}