Adding energy output field for density fitting
[alexxy/gromacs.git] / src / gromacs / mdrun / rerun.cpp
index e722f39511cedc13bf049eba7692535715aa1e89..6c7519252bd3c05e6d90db00021dc3d489428cc4 100644 (file)
@@ -300,7 +300,7 @@ void gmx::LegacySimulator::do_rerun()
     initialize_lambdas(fplog, *ir, MASTER(cr), &state_global->fep_state, state_global->lambda, lam0);
     gmx_mdoutf       *outf = init_mdoutf(fplog, nfile, fnm, mdrunOptions, cr, outputProvider, mdModulesNotifier, ir, top_global, oenv, wcycle,
                                          StartingBehavior::NewSimulation);
-    gmx::EnergyOutput energyOutput(mdoutf_get_fp_ene(outf), top_global, ir, pull_work, mdoutf_get_fp_dhdl(outf), true);
+    gmx::EnergyOutput energyOutput(mdoutf_get_fp_ene(outf), top_global, ir, pull_work, mdoutf_get_fp_dhdl(outf), true, mdModulesNotifier);
 
     gstat = global_stat_init(ir);