Ignore:
Timestamp:
Jun 12, 2016, 8:48:21 AM (9 years ago)
Author:
Frederik Heber <heber@…>
Branches:
Fix_BoundInBox_CenterInBox_MoleculeActions
Parents:
996ef1
git-author:
Frederik Heber <heber@…> (06/11/16 16:43:54)
git-committer:
Frederik Heber <heber@…> (06/12/16 08:48:21)
Message:

FIX: CenterInBox and BoundInBox are actions acting on molecules, not world.

  • just stumbled over this when realizing that center-in-box does not center all selected atoms within the box but each of the currently present molecules individually.
  • this is also changed to act only on selected molecules.
  • TEST: extended regression test to only test centering and bounding of some molecules (and not only all).
  • TESTFIX: needed to change regression tests on all molecules to prepend action with select-all-molecules.
  • Needed to renamed python action in boxmaker.py.in.
  • DOCU: Corrected description in userguide.
File:
1 moved

Legend:

Unmodified
Added
Removed
  • src/Actions/MoleculeAction/BoundInBoxAction.def

    r996ef1 r25d9d9  
    2727
    2828// some defines for all the names, you may use ACTION, STATE and PARAMS
    29 #define CATEGORY World
    30 #define MENUNAME "world"
     29#define CATEGORY Molecule
     30#define MENUNAME "molecule"
    3131#define MENUPOSITION 2
    3232#define ACTIONNAME BoundInBox
     
    3535
    3636// finally the information stored in the ActionTrait specialization
    37 #define DESCRIPTION "bound all atoms in the domain"
     37#define DESCRIPTION "bound each selected molecule in the domain"
    3838#undef SHORTFORM
Note: See TracChangeset for help on using the changeset viewer.