source: src/Actions/MoleculeAction/RemoveAction.def@ 3c9ac3

Action_Thermostats Adding_MD_integration_tests Adding_StructOpt_integration_tests AutomationFragmentation_failures Candidate_v1.6.1 ChemicalSpaceEvaluator Enhanced_StructuralOptimization Enhanced_StructuralOptimization_continued Exclude_Hydrogens_annealWithBondGraph Fix_Verbose_Codepatterns ForceAnnealing_with_BondGraph ForceAnnealing_with_BondGraph_continued ForceAnnealing_with_BondGraph_continued_betteresults ForceAnnealing_with_BondGraph_contraction-expansion Gui_displays_atomic_force_velocity JobMarket_RobustOnKillsSegFaults JobMarket_StableWorkerPool PythonUI_with_named_parameters Recreated_GuiChecks StoppableMakroAction TremoloParser_IncreasedPrecision
Last change on this file since 3c9ac3 was 867473, checked in by Frederik Heber <heber@…>, 10 years ago

Added new RemoveAction for molecules.

  • also add regression test.
  • added remove-molecule to userguide.
  • Property mode set to 100644
File size: 1.1 KB
Line 
1/*
2 * RemoveAction.def
3 *
4 * Created on: Dez 08, 2014
5 * Author: heber
6 */
7
8// all includes and forward declarations necessary for non-integral types below
9#include <map>
10#include <vector>
11
12#include "Atom/AtomicInfo.hpp"
13
14typedef std::map< moleculeId_t, std::vector<AtomicInfo> > molecules_atoms_t;
15
16// i.e. there is an integer with variable name Z that can be found in
17// ValueStorage by the token "Z" -> first column: int, Z, "Z"
18// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
19#undef paramtypes
20#undef paramtokens
21#undef paramdescriptions
22#undef paramdefaults
23#undef paramreferences
24#undef paramvalids
25
26#define statetypes (molecules_atoms_t)
27#define statereferences (MoleculeWalkers)
28
29// some defines for all the names, you may use ACTION, STATE and PARAMS
30#define CATEGORY Molecule
31#define MENUNAME "molecule"
32#define MENUPOSITION 1
33#define ACTIONNAME Remove
34#define TOKEN "remove-molecule"
35
36
37// finally the information stored in the ActionTrait specialization
38#define DESCRIPTION "remove selected molecules from the World including their atoms"
39#undef SHORTFORM
Note: See TracBrowser for help on using the repository browser.