Fixed minor issue with replica exchange
commit4d5a539686b6c5b48a21d407ff4bf60104466a99
authorMark Abraham <Mark.J.Abraham@gmail.com>
Wed, 2 Feb 2011 04:48:20 +0000 (2 15:48 +1100)
committerMark Abraham <Mark.J.Abraham@gmail.com>
Wed, 2 Feb 2011 04:48:20 +0000 (2 15:48 +1100)
tree9ae7221bf48f0d2ad146a322775d493e443a9060
parent4d200dc02260805cbcf8ce0fad0bca682e13f946
Fixed minor issue with replica exchange

If the user chose mdrun -replex that was not a multiple of
nstcalcenergy, then replica exchange could occur when energies were
not current. Fixed by requiring repl_ex_nst to be a multiple of
nstcalcenergy, as with similar mechanisms for global
intra-simulation communication.

IssueID #695
src/kernel/md.c