compute_temp_sphere does not modify positions
This commit is contained in:
@ -14,6 +14,7 @@
|
||||
#include "compute_temp_sphere.h"
|
||||
|
||||
#include "atom.h"
|
||||
#include "atom_masks.h"
|
||||
#include "domain.h"
|
||||
#include "error.h"
|
||||
#include "force.h"
|
||||
@ -76,6 +77,8 @@ ComputeTempSphere::ComputeTempSphere(LAMMPS *lmp, int narg, char **arg) :
|
||||
|
||||
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");
|
||||
|
||||
datamask_modify = ALL_MASK & ~X_MASK;
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
Reference in New Issue
Block a user