Avoid unnecessary exclusion generation in DD
authorBerk Hess <hess@kth.se>
Wed, 11 Dec 2019 13:24:00 +0000 (14:24 +0100)
committerBerk Hess <hess@kth.se>
Mon, 13 Jan 2020 14:27:35 +0000 (15:27 +0100)
commit2d2c85d010c8fa2dc47f88e3ab2f653c61859100
treeb6dac6aceb566b49c2da2c2feca9dd6e4934a558
parente0b301595c96d83684e927411a8461410c56e6e1
Avoid unnecessary exclusion generation in DD

With only self exclusions, the DD partitioning would generate a list
of all empty exclusion lists for all i-atoms. Now no lists are
generated. An assertion is added in the pairlist generation code
to ensure we either have 0 or the right number of exclusions lists.

Change-Id: I4b0556cbf3ed3a6fea7bdd0e03e194410bcfb88a
src/gromacs/domdec/domdec_topology.cpp
src/gromacs/nbnxm/nbnxm.h
src/gromacs/nbnxm/pairlist.cpp