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