Move nbnxm domainSetup to GridSet
authorBerk Hess <hess@kth.se>
Mon, 18 Mar 2019 10:13:56 +0000 (11:13 +0100)
committerMark Abraham <mark.j.abraham@gmail.com>
Thu, 28 Mar 2019 09:11:46 +0000 (10:11 +0100)
commitbd00f5b2ee8f2045333e1c94475e337ce19429f8
treecc68ee391f7292917582bb43d2410cefcaea30f1
parent18931f6cb5d801d1989de3d3291758752473de1c
Move nbnxm domainSetup to GridSet

The domain setup belongs with GridSet and moving it there reduces
the dependency of the pairlist construction function on PairSearch.
Removed PairSearch as an argument to those constuction functions.
Also moved SearchCycleCounting out of PairSearch.

Change-Id: I764868f5e7a002cf435ce74d428c95cf1e9dac23
src/gromacs/nbnxm/gridset.cpp
src/gromacs/nbnxm/gridset.h
src/gromacs/nbnxm/pairlist.cpp
src/gromacs/nbnxm/pairlist.h
src/gromacs/nbnxm/pairsearch.cpp
src/gromacs/nbnxm/pairsearch.h