git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11875 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2014-05-02 14:28:56 +00:00
parent c8fce1f525
commit af5d91115f
15 changed files with 125 additions and 80 deletions

View File

@ -508,6 +508,10 @@ void FixAveSpatial::end_of_step()
bigint ntimestep = update->ntimestep;
if (ntimestep != nvalid) return;
// update region if necessary
if (regionflag) region->prematch();
// zero out arrays that accumulate over many samples
// if box changes, first re-setup bins