git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11874 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -355,8 +355,10 @@ void FixAveAtom::end_of_step()
|
||||
// evaluate atom-style variable
|
||||
// final argument = 1 sums result to array
|
||||
|
||||
} else if (which[m] == VARIABLE && array)
|
||||
input->variable->compute_atom(n,igroup,&array[0][m],nvalues,1);
|
||||
} else if (which[m] == VARIABLE) {
|
||||
if (array) input->variable->compute_atom(n,igroup,&array[0][m],nvalues,1);
|
||||
else input->variable->compute_atom(n,igroup,NULL,nvalues,1);
|
||||
}
|
||||
}
|
||||
|
||||
// done if irepeat < nrepeat
|
||||
|
||||
Reference in New Issue
Block a user