From 03b8ad7cdd31ed0e75cc0639f6249fa12449741a Mon Sep 17 00:00:00 2001 From: sjplimp Date: Tue, 21 Jan 2014 14:53:10 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11276 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/respa.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/respa.cpp b/src/respa.cpp index 339c965d1a..36cfb36de9 100644 --- a/src/respa.cpp +++ b/src/respa.cpp @@ -384,8 +384,8 @@ void Respa::setup() copy_f_flevel(ilevel); } - modify->setup(vflag); sum_flevel_f(); + modify->setup(vflag); output->setup(); update->setupflag = 0; } @@ -452,8 +452,8 @@ void Respa::setup_minimal(int flag) copy_f_flevel(ilevel); } - modify->setup(vflag); sum_flevel_f(); + modify->setup(vflag); update->setupflag = 0; } @@ -471,12 +471,12 @@ void Respa::run(int n) ev_set(ntimestep); recurse(nlevels-1); + sum_flevel_f(); // needed in case end_of_step or output use f if (modify->n_end_of_step) modify->end_of_step(); if (ntimestep == output->next) { timer->stamp(); - sum_flevel_f(); output->write(update->ntimestep); timer->stamp(TIME_OUTPUT); }