source: src/Actions/GlobalListOfActions.hpp@ ff4fff9

CombiningParticlePotentialParsing
Last change on this file since ff4fff9 was 30e5dc, checked in by Frederik Heber <heber@…>, 9 years ago

Removed ParseTremoloPotentialsAction.

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