improved the nbnxn buffer size estimate with GPUs
authorBerk Hess <hess@kth.se>
Wed, 2 Oct 2013 15:43:12 +0000 (17:43 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Mon, 28 Oct 2013 23:33:55 +0000 (00:33 +0100)
commit1217e7c45256d32163907383f15fedfc782b534b
treeb730b0e0c76bfcbf40e4ad74afb88f546ca576d5
parent3b68017c4d148f294e4254cdd54ef8e211399b65
improved the nbnxn buffer size estimate with GPUs

The nbnxn Verlet buffer estimate now takes into account that
constrained atoms rotate, and don't move linearly, around the atom
they are constrained to. This significantly lower the buffer size
estimate for long neighborlist life times (as used with GPUs).
The buffer for most CPU runs is not affected (significantly).
Because of the smaller buffer, mdrun now uses smaller list increase
limits for increasing nstlist when using GPUs. This improves
performance.

Also activated and tested the virtual site effective mass calculation
(vsites were ignored in the drift calculation).

Change-Id: I2cb349f483610eabcc97bfbc23d17f189dec19d6
src/kernel/calc_verletbuf.c
src/kernel/runner.c