Changeset 02cbf6


Ignore:
Timestamp:
May 12, 2017, 8:20:58 PM (8 years ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
ForceAnnealing_goodresults, ForceAnnealing_tocheck
Children:
b94e74
Parents:
54293d
git-author:
Frederik Heber <frederik.heber@…> (05/12/17 20:09:49)
git-committer:
Frederik Heber <frederik.heber@…> (05/12/17 20:20:58)
Message:

Added (Un)selectAtomByName.

  • Descriptor for AtomByName was already present.
  • TESTS: also added regression test.
Files:
10 added
4 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/GlobalListOfActions.hpp

    r54293d r02cbf6  
    120120  (SelectionAtomByElement) \
    121121  (SelectionAtomById) \
     122  (SelectionAtomByName) \
    122123  (SelectionAtomByOrder) \
    123124  (SelectionClearAllAtoms) \
     
    135136  (SelectionNotAllMolecules) \
    136137  (SelectionNotAllShapes) \
     138  (SelectionNotAtomByElement) \
    137139  (SelectionNotAtomById) \
    138   (SelectionNotAtomByElement) \
     140  (SelectionNotAtomByName) \
    139141  (SelectionNotAtomByOrder) \
    140142  (SelectionNotMoleculeOfAtom) \
  • src/Actions/Makefile.am

    r54293d r02cbf6  
    466466  Actions/SelectionAction/Atoms/AtomByElementAction.cpp \
    467467  Actions/SelectionAction/Atoms/AtomByIdAction.cpp \
     468  Actions/SelectionAction/Atoms/AtomByNameAction.cpp \
    468469  Actions/SelectionAction/Atoms/AtomByOrderAction.cpp \
    469470  Actions/SelectionAction/Atoms/ClearAllAtomsAction.cpp \
     
    474475  Actions/SelectionAction/Atoms/NotAtomByElementAction.cpp \
    475476  Actions/SelectionAction/Atoms/NotAtomByIdAction.cpp \
     477  Actions/SelectionAction/Atoms/NotAtomByNameAction.cpp \
    476478  Actions/SelectionAction/Atoms/NotAtomByOrderAction.cpp \
    477479  Actions/SelectionAction/Atoms/PopAtomsAction.cpp \
     
    483485  Actions/SelectionAction/Atoms/AtomByElementAction.hpp \
    484486  Actions/SelectionAction/Atoms/AtomByIdAction.hpp \
     487  Actions/SelectionAction/Atoms/AtomByNameAction.hpp \
    485488  Actions/SelectionAction/Atoms/AtomByOrderAction.hpp \
    486489  Actions/SelectionAction/Atoms/ClearAllAtomsAction.hpp \
     
    491494  Actions/SelectionAction/Atoms/NotAtomByElementAction.hpp \
    492495  Actions/SelectionAction/Atoms/NotAtomByIdAction.hpp \
     496  Actions/SelectionAction/Atoms/NotAtomByNameAction.hpp \
    493497  Actions/SelectionAction/Atoms/NotAtomByOrderAction.hpp \
    494498  Actions/SelectionAction/Atoms/PopAtomsAction.hpp \
     
    500504  Actions/SelectionAction/Atoms/AtomByElementAction.def \
    501505  Actions/SelectionAction/Atoms/AtomByIdAction.def \
     506  Actions/SelectionAction/Atoms/AtomByNameAction.def \
    502507  Actions/SelectionAction/Atoms/AtomByOrderAction.def \
    503508  Actions/SelectionAction/Atoms/ClearAllAtomsAction.def \
     
    508513  Actions/SelectionAction/Atoms/NotAtomByElementAction.def \
    509514  Actions/SelectionAction/Atoms/NotAtomByIdAction.def \
     515  Actions/SelectionAction/Atoms/NotAtomByNameAction.def \
    510516  Actions/SelectionAction/Atoms/NotAtomByOrderAction.def \
    511517  Actions/SelectionAction/Atoms/PopAtomsAction.def \
  • tests/regression/Makefile.am

    r54293d r02cbf6  
    237237        $(srcdir)/Selection/Atoms/AtomById/testsuite-selection-unselect-atom-by-id.at \
    238238        $(srcdir)/Selection/Atoms/AtomById/testsuite-selection-unselect-atom-by-id-multiple.at \
     239        $(srcdir)/Selection/Atoms/AtomByName/testsuite-selection-select-atoms-by-name.at \
     240        $(srcdir)/Selection/Atoms/AtomByName/testsuite-selection-unselect-atoms-by-name.at \
    239241        $(srcdir)/Selection/Atoms/AtomByOrder/testsuite-selection-select-atom-by-order.at \
    240242        $(srcdir)/Selection/Atoms/AtomByOrder/testsuite-selection-unselect-atom-by-order.at \
  • tests/regression/Selection/Atoms/testsuite-selection-atoms.at

    r54293d r02cbf6  
    3838m4_include(Selection/Atoms/AtomById/testsuite-selection-unselect-atom-by-id-multiple.at)
    3939
     40# (un)select atoms by name
     41m4_include(Selection/Atoms/AtomByName/testsuite-selection-select-atoms-by-name.at)
     42m4_include(Selection/Atoms/AtomByName/testsuite-selection-unselect-atoms-by-name.at)
     43
    4044# (un)select atom by order
    4145m4_include(Selection/Atoms/AtomByOrder/testsuite-selection-select-atom-by-order.at)
Note: See TracChangeset for help on using the changeset viewer.