Fix type bug in trilinic DD code
authorBerk Hess <hess@kth.se>
Thu, 20 Sep 2018 07:58:58 +0000 (09:58 +0200)
committerBerk Hess <hess@kth.se>
Thu, 20 Sep 2018 07:58:58 +0000 (09:58 +0200)
commit02d55bcb166a6e615a986d6a6f7af7d07193a237
tree81d7d4db3f3457f037e7a3c2a518913584659b5b
parent7569e5f1d90cff383c89d16e2f6dfe937ed16ea5
Fix type bug in trilinic DD code

An off-diagonal triclinic box coupling variable was int instead of
real. For postive off-diagonal box elements the only led to (slightly)
more atoms being communicated. For, unusual, negative off-diagonal
elements this could cause to few atoms to be communicated.

Change-Id: I4cc2cd00aaee79359e32342615c818ba134054b3
src/gromacs/domdec/partition.cpp