Merge branch release-2021 into merge-2021-into-master
[alexxy/gromacs.git] / src / gromacs / mdrun / rerun.cpp
index b5589d8eb998fea902df1d5faa468adc4d849936..78271fae4824e620cf3969fc14ce6097ad9a40e2 100644 (file)
 #include "gromacs/mdtypes/state.h"
 #include "gromacs/mimic/utilities.h"
 #include "gromacs/pbcutil/pbc.h"
+#include "gromacs/pulling/output.h"
 #include "gromacs/pulling/pull.h"
 #include "gromacs/swap/swapcoords.h"
 #include "gromacs/timing/wallcycle.h"
@@ -821,6 +822,11 @@ void gmx::LegacySimulator::do_rerun()
                                                fr->fcdata.get(),
                                                awh);
 
+            if (ir->bPull)
+            {
+                pull_print_output(pull_work, step, t);
+            }
+
             if (do_per_step(step, ir->nstlog))
             {
                 if (fflush(fplog) != 0)