remove sphere_flag and replace with radius_flag and omega_flag as needed
This commit is contained in:
@ -34,7 +34,7 @@ ComputeERotateSphere::ComputeERotateSphere(LAMMPS *lmp, int narg, char **arg) :
|
||||
|
||||
// error check
|
||||
|
||||
if (!atom->sphere_flag) error->all(FLERR, "Compute erotate/sphere requires atom style sphere");
|
||||
if (!atom->omega_flag) error->all(FLERR, "Compute erotate/sphere requires atom attribute omega");
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
Reference in New Issue
Block a user