source: src/Actions/GlobalListOfActions.hpp@ 5f0ddd

ForceAnnealing_goodresults ForceAnnealing_tocheck
Last change on this file since 5f0ddd was 5f0ddd, checked in by Frederik Heber <frederik.heber@…>, 8 years ago

Added GeometryRemoveAction.

  • TESTS: Also added regression test.
  • Property mode set to 100644
File size: 5.5 KB
Line 
1/*
2 * GlobalListOfActions.hpp
3 *
4 * Created on: Sep 21, 2011
5 * Author: heber
6 */
7
8#ifndef GLOBALLISTOFACTIONS_HPP_
9#define GLOBALLISTOFACTIONS_HPP_
10
11// include config.h
12#ifdef HAVE_CONFIG_H
13#include <config.h>
14#endif
15
16#include <boost/preprocessor/seq/push_back.hpp>
17#include <boost/preprocessor/seq/remove.hpp>
18
19// this is global list of actions valid for all cases
20// PLEASE adhere to the alphabetical ordering of the list of Actions
21// NOTE that Redo must remain at the front due to technical reasons
22#define GLOBALLISTOFACTIONS_initial \
23 (Redo) \
24 (AnalysisAverageMoleculeForce) \
25 (AnalysisDipoleAngularCorrelation) \
26 (AnalysisDipoleCorrelation) \
27 (AnalysisMolecularVolume) \
28 (AnalysisPairCorrelation) \
29 (AnalysisPointCorrelation) \
30 (AnalysisPrincipalAxisSystem) \
31 (AnalysisSurfaceCorrelation) \
32 (AtomAdd) \
33 (AtomChangeElement) \
34 (AtomMirror) \
35 (AtomRemove) \
36 (AtomRotateAroundOriginByAngle) \
37 (AtomSaturate) \
38 (AtomSaveSelectedAtoms) \
39 (AtomTranslate) \
40 (AtomTranslateToOrigin) \
41 (BondAdd) \
42 (BondRemove) \
43 (BondSetDegree) \
44 (CommandDryRun) \
45 (CommandElementDb) \
46 (CommandBondLengthTable) \
47 (CommandFastParsing) \
48 (CommandHelp) \
49 (CommandHelpRedistribute) \
50 (CommandNoDryRun) \
51 (CommandSetRandomNumbersEngine) \
52 (CommandSetRandomNumbersDistribution) \
53 (CommandStoreSession) \
54 (CommandVerbose) \
55 (CommandVersion) \
56 (CommandWarranty) \
57 (FillRegularGrid) \
58 (FillSurface) \
59 (FillSuspendInMolecule) \
60 (FillVolume) \
61 (FragmentationAnalyseFragmentationResults) \
62 (FragmentationClearFragmentationResults) \
63 (FragmentationFragmentation) \
64 (FragmentationFragmentationAutomation) \
65 (FragmentationMolecularDynamics) \
66 (FragmentationParseFragmentJobs) \
67 (FragmentationParseFragmentResults) \
68 (FragmentationSaveFragmentResults) \
69 (FragmentationStoreSaturatedFragment) \
70 (FragmentationStructuralOptimization) \
71 (GeometryDistanceToVector) \
72 (GeometryInputToVector) \
73 (GeometryPlaneToVector) \
74 (GeometryPositionToVector) \
75 (GeometryRemove) \
76 (GraphUpdateMolecules) \
77 (GraphCorrectBondDegree) \
78 (GraphCreateAdjacency) \
79 (GraphDepthFirstSearch) \
80 (GraphDestroyAdjacency) \
81 (GraphSubgraphDissection) \
82 (MoleculeBondFile) \
83 (MoleculeChangeName) \
84 (MoleculeChangeBondAngle) \
85 (MoleculeCopy) \
86 (MoleculeForceAnnealing) \
87 (MoleculeLinearInterpolationofTrajectories) \
88 (MoleculeLoad) \
89 (MoleculeRemove) \
90 (MoleculeRotateAroundSelfByAngle) \
91 (MoleculeRotateToPrincipalAxisSystem) \
92 (MoleculeSaveAdjacency) \
93 (MoleculeSaveBonds) \
94 (MoleculeSaveSelectedMolecules) \
95 (MoleculeSaveTemperature) \
96 (MoleculeStretchBond) \
97 (MoleculeTranslate) \
98 (MoleculeVerletIntegration) \
99 (PotentialFitPartialCharges) \
100 (PotentialParseAtomFragments) \
101 (PotentialParseHomologies) \
102 (PotentialParseParticleParameters) \
103 (PotentialParsePotentials) \
104 (PotentialSaveAtomFragments) \
105 (PotentialSaveHomologies) \
106 (PotentialSaveParticleParameters) \
107 (PotentialSavePotentials) \
108 (ParserSaveSelectedAtomsAsExtTypes) \
109 (ParserSetParserParameters) \
110 (ParserSetOutputFormats) \
111 (ParserSetTremoloAtomdata) \
112 (Undo) \
113 (SelectionAllAtoms) \
114 (SelectionAllAtomsInsideVolume) \
115 (SelectionAllAtomsOfMolecule) \
116 (SelectionAllMolecules) \
117 (SelectionAllShapes) \
118 (SelectionAtomByElement) \
119 (SelectionAtomById) \
120 (SelectionAtomByOrder) \
121 (SelectionClearAllAtoms) \
122 (SelectionClearAllMolecules) \
123 (SelectionInvertAtoms) \
124 (SelectionInvertMolecules) \
125 (SelectionMoleculeOfAtom) \
126 (SelectionMoleculeByFormula) \
127 (SelectionMoleculeById) \
128 (SelectionMoleculeByName) \
129 (SelectionMoleculeByOrder) \
130 (SelectionNotAllAtoms) \
131 (SelectionNotAllAtomsInsideVolume) \
132 (SelectionNotAllAtomsOfMolecule) \
133 (SelectionNotAllMolecules) \
134 (SelectionNotAllShapes) \
135 (SelectionNotAtomById) \
136 (SelectionNotAtomByElement) \
137 (SelectionNotAtomByOrder) \
138 (SelectionNotMoleculeOfAtom) \
139 (SelectionNotMoleculeByFormula) \
140 (SelectionNotMoleculeById) \
141 (SelectionNotMoleculeByName) \
142 (SelectionNotMoleculeByOrder) \
143 (SelectionNotShapeByName) \
144 (SelectionPopAtoms) \
145 (SelectionPushAtoms) \
146 (SelectionPopMolecules) \
147 (SelectionPushMolecules) \
148 (SelectionShapeByName) \
149 (ShapeCombineShapes) \
150 (ShapeCreateShape) \
151 (ShapeRemoveShape) \
152 (ShapeRotateShape) \
153 (ShapeStretchShape) \
154 (ShapeTranslateShape) \
155 (TesselationConvexEnvelope) \
156 (TesselationNonConvexEnvelope) \
157 (WorldAddEmptyBoundary) \
158 (WorldBoundInBox) \
159 (WorldCenterInBox) \
160 (WorldCenterOnEdge) \
161 (WorldChangeBox) \
162 (WorldInput) \
163 (WorldOutput) \
164 (WorldOutputAs) \
165 (WorldRepeatBox) \
166 (WorldScaleBox) \
167 (WorldSetBoundaryConditions) \
168 (WorldSetDefaultName) \
169 (WorldSetWorldTime) \
170 (WorldStepWorldTime)
171
172// extend list of actions in case levmar is available
173#ifdef HAVE_LEVMAR
174#define GLOBALLISTOFACTIONS_LEVMAR \
175 BOOST_PP_SEQ_PUSH_BACK( \
176 BOOST_PP_SEQ_PUSH_BACK( \
177 GLOBALLISTOFACTIONS_initial, \
178 PotentialFitPotential \
179 ), \
180 PotentialFitCompoundPotential \
181 )
182#else
183#define GLOBALLISTOFACTIONS_LEVMAR \
184 GLOBALLISTOFACTIONS_initial
185#endif /* HAVE_LEVMAR */
186
187// define final list
188#ifdef HAVE_PYTHON
189#define GLOBALLISTOFACTIONS_PYTHON \
190 BOOST_PP_SEQ_PUSH_BACK( \
191 GLOBALLISTOFACTIONS_LEVMAR, \
192 CommandLoadSession \
193 )
194#else
195#define GLOBALLISTOFACTIONS_PYTHON \
196 GLOBALLISTOFACTIONS_LEVMAR
197#endif
198
199#define GLOBALLISTOFACTIONS GLOBALLISTOFACTIONS_PYTHON
200
201// define python list
202// skips CommandLoadSession as this causes dangerous infinite loops
203#define GLOBALLISTOFPYTHONACTIONS \
204 GLOBALLISTOFACTIONS_LEVMAR
205
206#endif /* GLOBALLISTOFACTIONS_HPP_ */
207
Note: See TracBrowser for help on using the repository browser.