Implement remaining SelectionOption flags.
authorTeemu Murtola <teemu.murtola@gmail.com>
Fri, 12 Apr 2013 04:19:40 +0000 (07:19 +0300)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Wed, 17 Apr 2013 07:02:57 +0000 (09:02 +0200)
commitb5c001f003ba5e1a70d79b215af99d2bb94b27cd
treeb117b3fb2df745b2c1f1dc255d0b9890a3be874d
parentb7080e849af89e1a1eb82c90f976dab151bc0961
Implement remaining SelectionOption flags.

- If onlyAtoms() is specified, check the condition after the selections
  have been compiled.
- If onlyAtoms() is specified for all selection options, remove the
  -seltype command-line option, as it has no use.
- Removed unimplemented dynamicOnlyWhole() as the way it worked in 4.5
  is not really compatible with the current handling of selections.
  It was any way only affecting a default value, but not enforcing
  anything.

Change-Id: I0cd4ff6d425cc017bead090be12867b4f41e7783
src/gromacs/selection/selection.h
src/gromacs/selection/selectioncollection.cpp
src/gromacs/selection/selectionenums.h
src/gromacs/selection/selectionoption.cpp
src/gromacs/selection/selectionoption.h
src/gromacs/selection/tests/selectionoption.cpp