biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4af5c1b
)
v-rescale works with tau-t >= 0
author
Mark Abraham
<mark.j.abraham@gmail.com>
Fri, 19 Apr 2013 14:17:11 +0000
(16:17 +0200)
committer
Mark Abraham
<mark.j.abraham@gmail.com>
Fri, 19 Apr 2013 14:17:11 +0000
(16:17 +0200)
Bug introduced in
c7a82654
Change-Id: Iee2d1c8fc5d34811dc022ffbe097114abc10030b
src/mdlib/coupling.c
patch
|
blob
|
history
diff --git
a/src/mdlib/coupling.c
b/src/mdlib/coupling.c
index 0bfd9feb566dfd106f575d837eea388943b4c593..cfcfa0b9d7df41758772d2c1c107e3b20285ed77 100644
(file)
--- a/
src/mdlib/coupling.c
+++ b/
src/mdlib/coupling.c
@@
-1603,7
+1603,7
@@
void vrescale_tcoupl(t_inputrec *ir, gmx_ekindata_t *ekind, real dt,
Ek = trace(ekind->tcstat[i].ekinh);
}
- if (opts->tau_t[i] > 0 && opts->nrdf[i] > 0 && Ek > 0)
+ if (opts->tau_t[i] >
=
0 && opts->nrdf[i] > 0 && Ek > 0)
{
Ek_ref1 = 0.5*opts->ref_t[i]*BOLTZ;
Ek_ref = Ek_ref1*opts->nrdf[i];