source: src/Actions/GlobalListOfActions.hpp@ 9f55b9

Candidate_v1.7.0 stable
Last change on this file since 9f55b9 was addb51, checked in by Frederik Heber <frederik.heber@…>, 5 years ago

Add action to clear fragmentation state.

  • Property mode set to 100644
File size: 5.8 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 (AtomRandomPerturbation) \
36 (AtomRemove) \
37 (AtomRotateAroundOriginByAngle) \
38 (AtomSaturate) \
39 (AtomSaveSelectedAtoms) \
40 (AtomTranslate) \
41 (AtomTranslateToOrigin) \
42 (BondAdd) \
43 (BondRemove) \
44 (BondSetDegree) \
45 (CommandDryRun) \
46 (CommandElementDb) \
47 (CommandBondLengthTable) \
48 (CommandFastParsing) \
49 (CommandHelp) \
50 (CommandHelpRedistribute) \
51 (CommandNoDryRun) \
52 (CommandSetRandomNumbersEngine) \
53 (CommandSetRandomNumbersDistribution) \
54 (CommandStoreSession) \
55 (CommandVerbose) \
56 (CommandVersion) \
57 (CommandWarranty) \
58 (FillRegularGrid) \
59 (FillSurface) \
60 (FillSuspendInMolecule) \
61 (FillVolume) \
62 (FragmentationAnalyseFragmentationResults) \
63 (FragmentationClearFragmentationResults) \
64 (FragmentationClearFragmentationState) \
65 (FragmentationFragmentation) \
66 (FragmentationFragmentationAutomation) \
67 (FragmentationMolecularDynamics) \
68 (FragmentationParseFragmentJobs) \
69 (FragmentationParseFragmentResults) \
70 (FragmentationSaveFragmentResults) \
71 (FragmentationStoreSaturatedFragment) \
72 (FragmentationStructuralOptimization) \
73 (GeometryDistanceToVector) \
74 (GeometryInputToVector) \
75 (GeometryPlaneToVector) \
76 (GeometryPositionToVector) \
77 (GeometryRemove) \
78 (GraphChemicalSpaceEvaluator) \
79 (GraphUpdateMolecules) \
80 (GraphCorrectBondDegree) \
81 (GraphCreateAdjacency) \
82 (GraphDepthFirstSearch) \
83 (GraphDestroyAdjacency) \
84 (GraphSubgraphDissection) \
85 (MoleculeBondFile) \
86 (MoleculeChangeName) \
87 (MoleculeChangeBondAngle) \
88 (MoleculeCopy) \
89 (MoleculeForceAnnealing) \
90 (MoleculeLinearInterpolationofTrajectories) \
91 (MoleculeLoad) \
92 (MoleculeRemove) \
93 (MoleculeRotateAroundBond) \
94 (MoleculeRotateAroundSelfByAngle) \
95 (MoleculeRotateToPrincipalAxisSystem) \
96 (MoleculeSaveAdjacency) \
97 (MoleculeSaveBonds) \
98 (MoleculeSaveSelectedMolecules) \
99 (MoleculeSaveEnergies) \
100 (MoleculeStretchBond) \
101 (MoleculeTranslate) \
102 (MoleculeVerletIntegration) \
103 (PotentialFitPartialCharges) \
104 (PotentialParseAtomFragments) \
105 (PotentialParseHomologies) \
106 (PotentialParseParticleParameters) \
107 (PotentialParsePotentials) \
108 (PotentialSaveAtomFragments) \
109 (PotentialSaveHomologies) \
110 (PotentialSaveParticleParameters) \
111 (PotentialSavePotentials) \
112 (ParserSaveSelectedAtomsAsExtTypes) \
113 (ParserSetParserParameters) \
114 (ParserSetOutputFormats) \
115 (ParserSetTremoloAtomdata) \
116 (Undo) \
117 (SelectionAllAtoms) \
118 (SelectionAllAtomsInsideVolume) \
119 (SelectionAllAtomsOfMolecule) \
120 (SelectionAllMolecules) \
121 (SelectionAllShapes) \
122 (SelectionAtomByElement) \
123 (SelectionAtomById) \
124 (SelectionAtomByName) \
125 (SelectionAtomByOrder) \
126 (SelectionAtomByRandom) \
127 (SelectionClearAllAtoms) \
128 (SelectionClearAllMolecules) \
129 (SelectionInvertAtoms) \
130 (SelectionInvertMolecules) \
131 (SelectionMoleculeOfAtom) \
132 (SelectionMoleculeByFormula) \
133 (SelectionMoleculeById) \
134 (SelectionMoleculeByName) \
135 (SelectionMoleculeByOrder) \
136 (SelectionNotAllAtoms) \
137 (SelectionNotAllAtomsInsideVolume) \
138 (SelectionNotAllAtomsOfMolecule) \
139 (SelectionNotAllMolecules) \
140 (SelectionNotAllShapes) \
141 (SelectionNotAtomByElement) \
142 (SelectionNotAtomById) \
143 (SelectionNotAtomByName) \
144 (SelectionNotAtomByOrder) \
145 (SelectionNotMoleculeOfAtom) \
146 (SelectionNotMoleculeByFormula) \
147 (SelectionNotMoleculeById) \
148 (SelectionNotMoleculeByName) \
149 (SelectionNotMoleculeByOrder) \
150 (SelectionNotShapeByName) \
151 (SelectionPopAtoms) \
152 (SelectionPushAtoms) \
153 (SelectionPopMolecules) \
154 (SelectionPushMolecules) \
155 (SelectionShapeByName) \
156 (ShapeCombineShapes) \
157 (ShapeCreateShape) \
158 (ShapeRemoveShape) \
159 (ShapeRotateShape) \
160 (ShapeStretchShape) \
161 (ShapeTranslateShape) \
162 (TesselationConvexEnvelope) \
163 (TesselationNonConvexEnvelope) \
164 (WorldAddEmptyBoundary) \
165 (WorldBoundInBox) \
166 (WorldCenterInBox) \
167 (WorldCenterOnEdge) \
168 (WorldChangeBox) \
169 (WorldInput) \
170 (WorldOutput) \
171 (WorldOutputAs) \
172 (WorldRepeatBox) \
173 (WorldScaleBox) \
174 (WorldSetBoundaryConditions) \
175 (WorldSetDefaultName) \
176 (WorldSetWorldTime) \
177 (WorldStepWorldTime)
178
179// extend list of actions in case levmar is available
180#ifdef HAVE_LEVMAR
181#define GLOBALLISTOFACTIONS_LEVMAR \
182 BOOST_PP_SEQ_PUSH_BACK( \
183 BOOST_PP_SEQ_PUSH_BACK( \
184 GLOBALLISTOFACTIONS_initial, \
185 PotentialFitPotential \
186 ), \
187 PotentialFitCompoundPotential \
188 )
189#else
190#define GLOBALLISTOFACTIONS_LEVMAR \
191 GLOBALLISTOFACTIONS_initial
192#endif /* HAVE_LEVMAR */
193
194// define final list
195#ifdef HAVE_PYTHON
196#define GLOBALLISTOFACTIONS_PYTHON \
197 BOOST_PP_SEQ_PUSH_BACK( \
198 GLOBALLISTOFACTIONS_LEVMAR, \
199 CommandLoadSession \
200 )
201#else
202#define GLOBALLISTOFACTIONS_PYTHON \
203 GLOBALLISTOFACTIONS_LEVMAR
204#endif
205
206#define GLOBALLISTOFACTIONS GLOBALLISTOFACTIONS_PYTHON
207
208// define python list
209// skips CommandLoadSession as this causes dangerous infinite loops
210#define GLOBALLISTOFPYTHONACTIONS \
211 GLOBALLISTOFACTIONS_LEVMAR
212
213#endif /* GLOBALLISTOFACTIONS_HPP_ */
214
Note: See TracBrowser for help on using the repository browser.