biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use const ref for mtop and inputrec in EnergyOutput initialization
[alexxy/gromacs.git]
/
src
/
gromacs
/
modularsimulator
/
energydata.cpp
diff --git
a/src/gromacs/modularsimulator/energydata.cpp
b/src/gromacs/modularsimulator/energydata.cpp
index 49b53fade819076afb909790843580c5633d66b9..83e02e92f608518e66857dbe02b237d155023067 100644
(file)
--- a/
src/gromacs/modularsimulator/energydata.cpp
+++ b/
src/gromacs/modularsimulator/energydata.cpp
@@
-168,8
+168,8
@@
void EnergyData::setup(gmx_mdoutf* outf)
{
pull_t* pull_work = nullptr;
energyOutput_ = std::make_unique<EnergyOutput>(mdoutf_get_fp_ene(outf),
- top_global_,
- inputrec_,
+
*
top_global_,
+
*
inputrec_,
pull_work,
mdoutf_get_fp_dhdl(outf),
false,