Allow 'atomname' and 'atomtype' in selections.
authorTeemu Murtola <teemu.murtola@gmail.com>
Tue, 4 Sep 2012 03:48:25 +0000 (06:48 +0300)
committerTeemu Murtola <teemu.murtola@gmail.com>
Tue, 4 Sep 2012 03:48:25 +0000 (06:48 +0300)
commit8bddac363cc999f7eb2f8272fb79eb359a73fbac
tree7be2a7b29fc424202da8fa3c5a11f0828b678ba9
parent030c229f14cd3c19962c5908fbbda479dae51175
Allow 'atomname' and 'atomtype' in selections.

'atomname' is now synonymous to 'name', and similarly for 'atomtype' and
'type'.  This reduces confusion, as the code uses atomname and atomtype
internally.  Also use the aliases in tests.

Change-Id: Ifa96840c1fc9c519be53b1bb5aae4f4910cdb0ff
src/gromacs/selection/selmethod.cpp
src/gromacs/selection/sm_simple.cpp
src/gromacs/selection/tests/refdata/SelectionCollectionDataTest_HandlesAtomname.xml
src/gromacs/selection/tests/refdata/SelectionCollectionDataTest_HandlesResIndex.xml
src/gromacs/selection/tests/refdata/SelectionCollectionDataTest_HandlesResnr.xml
src/gromacs/selection/tests/selectioncollection.cpp