compute_temp_sphere does not modify positions

This commit is contained in:
Stan Moore
2024-10-04 16:15:34 -06:00
parent b494a486a1
commit 2c738669ff

View File

@ -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;
}
/* ---------------------------------------------------------------------- */