Clean up nbnxm bounding box functions
authorBerk Hess <hess@kth.se>
Tue, 5 Mar 2019 21:13:18 +0000 (22:13 +0100)
committerMark Abraham <mark.j.abraham@gmail.com>
Wed, 6 Mar 2019 14:20:43 +0000 (15:20 +0100)
commit29c4d482748bb73b886fecd595e68861eef26eb1
treee9b49ccd10e370adc38dd76ba5bde50c97319474
parentf1bd30e3866c61faed7b8050749319795c65b819
Clean up nbnxm bounding box functions

Replaced macro function by inline function.
Reduced and simplified function arguments.
Renamed functions with more expressive names.
Removed _simd4 from the SIMD4 version of the normal BB distance
calculation function, since it can be used everywhere and this
reduced preprocessing logic.
Replaced nbnxn_bb_t by BoundingBox.

Change-Id: I63a7a0add371b268b533bde60e15a644ec71583e
src/gromacs/nbnxm/grid.cpp
src/gromacs/nbnxm/pairlist.cpp
src/gromacs/nbnxm/pairlist_simd_2xmm.h
src/gromacs/nbnxm/pairlist_simd_4xm.h