Fix LINCS triangle constraint thread issue
commita6f7cdb25e075f07a6c8e20a67e6e65859e56952
authorBerk Hess <hess@kth.se>
Mon, 16 Nov 2015 22:50:08 +0000 (16 23:50 +0100)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Fri, 29 Jan 2016 09:06:02 +0000 (29 10:06 +0100)
tree6fefcd3849548d856eceb36bd197e5047e558d0f
parent5ac3bb86beb20c72825da35d6b5c90dc1baebfcb
Fix LINCS triangle constraint thread issue

With triangle constraints, a OpenMP thread barrier could be missing
under certain conditions. A debug build produced an assertion failure.
This was unlikely to happen without DD, but quite likely with DD.
This bug will have had minimal effect on the results.

Fixes #1853

Change-Id: I6ad1a75ce89ef1e753a7567868a76c2fd891f729
src/gromacs/mdlib/clincs.cpp