source: src/Actions/GlobalListOfActions.hpp@ c8165c

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

Merge branch 'Docu_Python_wait' into Candidate_v1.6.1

Conflicts:

tests/Python/AllActions/options.dat

  • two options introduced at same place, both get in.
  • Property mode set to 100644
File size: 5.6 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 (MoleculeRotateAroundBond) \
91 (MoleculeRotateAroundSelfByAngle) \
92 (MoleculeRotateToPrincipalAxisSystem) \
93 (MoleculeSaveAdjacency) \
94 (MoleculeSaveBonds) \
95 (MoleculeSaveSelectedMolecules) \
96 (MoleculeSaveTemperature) \
97 (MoleculeStretchBond) \
98 (MoleculeTranslate) \
99 (MoleculeVerletIntegration) \
100 (PotentialFitPartialCharges) \
101 (PotentialParseAtomFragments) \
102 (PotentialParseHomologies) \
103 (PotentialParseParticleParameters) \
104 (PotentialParsePotentials) \
105 (PotentialSaveAtomFragments) \
106 (PotentialSaveHomologies) \
107 (PotentialSaveParticleParameters) \
108 (PotentialSavePotentials) \
109 (ParserSaveSelectedAtomsAsExtTypes) \
110 (ParserSetParserParameters) \
111 (ParserSetOutputFormats) \
112 (ParserSetTremoloAtomdata) \
113 (Undo) \
114 (SelectionAllAtoms) \
115 (SelectionAllAtomsInsideVolume) \
116 (SelectionAllAtomsOfMolecule) \
117 (SelectionAllMolecules) \
118 (SelectionAllShapes) \
119 (SelectionAtomByElement) \
120 (SelectionAtomById) \
121 (SelectionAtomByOrder) \
122 (SelectionClearAllAtoms) \
123 (SelectionClearAllMolecules) \
124 (SelectionInvertAtoms) \
125 (SelectionInvertMolecules) \
126 (SelectionMoleculeOfAtom) \
127 (SelectionMoleculeByFormula) \
128 (SelectionMoleculeById) \
129 (SelectionMoleculeByName) \
130 (SelectionMoleculeByOrder) \
131 (SelectionNotAllAtoms) \
132 (SelectionNotAllAtomsInsideVolume) \
133 (SelectionNotAllAtomsOfMolecule) \
134 (SelectionNotAllMolecules) \
135 (SelectionNotAllShapes) \
136 (SelectionNotAtomById) \
137 (SelectionNotAtomByElement) \
138 (SelectionNotAtomByOrder) \
139 (SelectionNotMoleculeOfAtom) \
140 (SelectionNotMoleculeByFormula) \
141 (SelectionNotMoleculeById) \
142 (SelectionNotMoleculeByName) \
143 (SelectionNotMoleculeByOrder) \
144 (SelectionNotShapeByName) \
145 (SelectionPopAtoms) \
146 (SelectionPushAtoms) \
147 (SelectionPopMolecules) \
148 (SelectionPushMolecules) \
149 (SelectionShapeByName) \
150 (ShapeCombineShapes) \
151 (ShapeCreateShape) \
152 (ShapeRemoveShape) \
153 (ShapeRotateShape) \
154 (ShapeStretchShape) \
155 (ShapeTranslateShape) \
156 (TesselationConvexEnvelope) \
157 (TesselationNonConvexEnvelope) \
158 (WorldAddEmptyBoundary) \
159 (WorldBoundInBox) \
160 (WorldCenterInBox) \
161 (WorldCenterOnEdge) \
162 (WorldChangeBox) \
163 (WorldInput) \
164 (WorldOutput) \
165 (WorldOutputAs) \
166 (WorldRepeatBox) \
167 (WorldScaleBox) \
168 (WorldSetBoundaryConditions) \
169 (WorldSetDefaultName) \
170 (WorldSetWorldTime) \
171 (WorldStepWorldTime)
172
173// extend list of actions in case levmar is available
174#ifdef HAVE_LEVMAR
175#define GLOBALLISTOFACTIONS_LEVMAR \
176 BOOST_PP_SEQ_PUSH_BACK( \
177 BOOST_PP_SEQ_PUSH_BACK( \
178 GLOBALLISTOFACTIONS_initial, \
179 PotentialFitPotential \
180 ), \
181 PotentialFitCompoundPotential \
182 )
183#else
184#define GLOBALLISTOFACTIONS_LEVMAR \
185 GLOBALLISTOFACTIONS_initial
186#endif /* HAVE_LEVMAR */
187
188// define final list
189#ifdef HAVE_PYTHON
190#define GLOBALLISTOFACTIONS_PYTHON \
191 BOOST_PP_SEQ_PUSH_BACK( \
192 GLOBALLISTOFACTIONS_LEVMAR, \
193 CommandLoadSession \
194 )
195#else
196#define GLOBALLISTOFACTIONS_PYTHON \
197 GLOBALLISTOFACTIONS_LEVMAR
198#endif
199
200#define GLOBALLISTOFACTIONS GLOBALLISTOFACTIONS_PYTHON
201
202// define python list
203// skips CommandLoadSession as this causes dangerous infinite loops
204#define GLOBALLISTOFPYTHONACTIONS \
205 GLOBALLISTOFACTIONS_LEVMAR
206
207#endif /* GLOBALLISTOFACTIONS_HPP_ */
208
Note: See TracBrowser for help on using the repository browser.