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
Make the restraint history const during force calculation
[alexxy/gromacs.git]
/
src
/
gromacs
/
mdrun
/
shellfc.cpp
diff --git
a/src/gromacs/mdrun/shellfc.cpp
b/src/gromacs/mdrun/shellfc.cpp
index 9943027574b6975fa1893a5a3e58bdc82dc2baa2..38b68d157ace0627e76648f2f1b7a8f7cba06352 100644
(file)
--- a/
src/gromacs/mdrun/shellfc.cpp
+++ b/
src/gromacs/mdrun/shellfc.cpp
@@
-976,7
+976,7
@@
void relax_shell_flexcon(FILE* fplog,
ArrayRefWithPadding<RVec> vPadded,
const matrix box,
ArrayRef<real> lambda,
-
history_t*
hist,
+
const history_t*
hist,
gmx::ForceBuffersView* f,
tensor force_vir,
const t_mdatoms* md,