source: src/Actions/MoleculeAction/CenterInBoxAction.hpp@ 25d9d9

Fix_BoundInBox_CenterInBox_MoleculeActions
Last change on this file since 25d9d9 was 25d9d9, checked in by Frederik Heber <heber@…>, 9 years ago

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.
  • Property mode set to 100644
File size: 354 bytes
Line 
1/*
2 * CenterInBoxAction.hpp
3 *
4 * Created on: May 8, 2010
5 * Author: heber
6 */
7
8#ifndef CENTERINBOXACTION_HPP_
9#define CENTERINBOXACTION_HPP_
10
11// include config.h
12#ifdef HAVE_CONFIG_H
13#include <config.h>
14#endif
15
16
17#include "Actions/Action.hpp"
18
19#include "CenterInBoxAction.def"
20#include "Action_impl_header.hpp"
21
22#endif /* CENTERINBOXACTION_HPP_ */
Note: See TracBrowser for help on using the repository browser.