Fix too small GPU pair count estimates
authorBerk Hess <hess@kth.se>
Wed, 1 Jul 2015 13:46:40 +0000 (15:46 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Mon, 6 Jul 2015 08:22:05 +0000 (10:22 +0200)
For triclinic unit-cells with DD the non-local cluster pair count
estimate was too high, especially for thin local domains, due to an
incorrect estimate of the cluster size. Since the pair count estimate
for the local pair-list was determined as a total minus a non-local
estimate, the local estimate could get negative and cause exceptions.
Fixed the cluster size estimate and added a lower limit for the local
size estimate.

Fixes #1762.

Change-Id: I3489550968f66bc03ba4e6056017a58eba37f7cc


No differences found