BugFix: Zeroing the padded area of coordinates vectors in LeapFrog tests
authorArtem Zhmurov <zhmurov@gmail.com>
Tue, 13 Aug 2019 14:55:57 +0000 (16:55 +0200)
committerErik Lindahl <erik.lindahl@gmail.com>
Wed, 14 Aug 2019 08:15:25 +0000 (10:15 +0200)
commit81bcef29aecc71b436abca6b1b4b1213947b1441
tree1b92510e87535d0d1948f9aada4140f91b2d869f
parent6529c2da4073fd5930928d17f7dad323de4c2cfd
BugFix: Zeroing the padded area of coordinates vectors in LeapFrog tests

The reserveWithPadding does not put zeros to the vectors. In some cases
this lead to some residue data in padded area which caused floating
point exceptions when SIMD kernel was used (in ~1 out of 200 cases).

Change-Id: I7f9898ffc4b933c054d1ca4746d9b8de8caed3fb
src/gromacs/mdlib/tests/leapfrogtestrunners.cpp