Fix -seltype option for C++ tools
commit528f2227e33de4fa624cabb3a1e755d240e85804
authorTeemu Murtola <teemu.murtola@gmail.com>
Fri, 25 Sep 2015 09:39:57 +0000 (25 12:39 +0300)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Fri, 2 Oct 2015 20:37:30 +0000 (2 22:37 +0200)
treeaa13856151e563120587c91d5a2524412c567e4f
parent1e92c2e46aa7e0452a589d50524a927485cbedcb
Fix -seltype option for C++ tools

Because of a misthought in the logic of how to check whether onlyAtoms()
was specified for all SelectionOptions, the -seltype option was never
enabled for any tool (since 5.0).

Change-Id: I365afdc53524f0a237654a603be1c051b8e55dc9
src/gromacs/selection/selectioncollection.cpp
src/gromacs/selection/selectioncollection.h
src/gromacs/selection/selectionoptionmanager.cpp
src/gromacs/selection/selectionoptionmanager.h
src/gromacs/selection/selectionoptionstorage.h
src/gromacs/trajectoryanalysis/cmdlinerunner.cpp