Initialize unused velocity constraint components
commit839b4f6ce0f8544c90ca7cf74b35e0ab12fe9596
authorBerk Hess <hess@kth.se>
Fri, 22 Aug 2014 10:37:49 +0000 (22 12:37 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Sun, 24 Aug 2014 17:20:50 +0000 (24 19:20 +0200)
tree630acf332685152a4a60678a6a139a0355727edb
parent3fb6bcc1a424f1a99a001083c0e12d6ed1dde866
Initialize unused velocity constraint components

With domain decomposition, velocity components for communicated
atoms could be uninitialized. These components were never used, but
this could lead to valgrind warnings and floating point exceptions.

Fixes #1576.

Change-Id: Ic673680699578ddf62c2d240342138cbc16490c8
src/gromacs/mdlib/constr.c