mirror of https://github.com/lammps/lammps.git
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@4060 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
65cff9893a
commit
679d1f83cc
|
@ -174,7 +174,10 @@ ComputeReduce::ComputeReduce(LAMMPS *lmp, int narg, char **arg) :
|
|||
// setup and error check
|
||||
|
||||
for (int i = 0; i < nvalues; i++) {
|
||||
if (which[i] == COMPUTE) {
|
||||
if (which[i] == X || which[i] == V || which[i] == F)
|
||||
flavor[i] = PERATOM;
|
||||
|
||||
else if (which[i] == COMPUTE) {
|
||||
int icompute = modify->find_compute(ids[i]);
|
||||
if (icompute < 0)
|
||||
error->all("Compute ID for compute reduce does not exist");
|
||||
|
|
Loading…
Reference in New Issue