Introduce self-pairs search in nbsearch
commit7b4d632dd09d0714f65ec48d7380084d65907c4b
authorTeemu Murtola <teemu.murtola@gmail.com>
Tue, 22 Aug 2017 19:12:04 +0000 (22 22:12 +0300)
committerDavid van der Spoel <davidvanderspoel@gmail.com>
Mon, 4 Sep 2017 08:38:37 +0000 (4 10:38 +0200)
treecb69b7c7993e87cba8b4db5acf5d8c12c328d5e7
parent741a01908a5017176f54a640599c5ed3d7ccaa79
Introduce self-pairs search in nbsearch

Make it possible to search for all pairs within a single set of
positions using AnalysisNeighborhood.  This effectively excludes half of
the pairs from the search, speeding things up.

Not used yet anywhere, but this makes the code a better reference for
performance comparisons, and for places where this is applicable it has
potential for speeding things up quite a bit.

Change-Id: Ib0e6f36460b8dbda97704447222c864c149d8e56
docs/doxygen/user/analysisnbsearch.md
src/gromacs/selection/nbsearch.cpp
src/gromacs/selection/nbsearch.h
src/gromacs/selection/tests/nbsearch.cpp