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 |
|
---|
18 | // this is global list of actions valid for all cases
|
---|
19 | #define GLOBALLISTOFACTIONS_initial \
|
---|
20 | (Redo) \
|
---|
21 | (GraphUpdateMolecules) \
|
---|
22 | (GraphCreateAdjacency) \
|
---|
23 | (GraphDepthFirstSearch) \
|
---|
24 | (GraphDestroyAdjacency) \
|
---|
25 | (GraphSubgraphDissection) \
|
---|
26 | (MoleculeSaveTemperature) \
|
---|
27 | (MoleculeCopy) \
|
---|
28 | (MoleculeSuspendInWater) \
|
---|
29 | (MoleculeFillWithMolecule) \
|
---|
30 | (MoleculeRotateToPrincipalAxisSystem) \
|
---|
31 | (MoleculeSaveAdjacency) \
|
---|
32 | (MoleculeFillVoidWithMolecule) \
|
---|
33 | (MoleculeVerletIntegration) \
|
---|
34 | (MoleculeChangeName) \
|
---|
35 | (MoleculeChangeBondAngle) \
|
---|
36 | (MoleculeRotateAroundSelfByAngle) \
|
---|
37 | (MoleculeSaveSelectedMolecules) \
|
---|
38 | (MoleculeSaveBonds) \
|
---|
39 | (MoleculeStretchBond) \
|
---|
40 | (MoleculeLinearInterpolationofTrajectories) \
|
---|
41 | (MoleculeLoad) \
|
---|
42 | (MoleculeBondFile) \
|
---|
43 | (TesselationNonConvexEnvelope) \
|
---|
44 | (TesselationConvexEnvelope) \
|
---|
45 | (CommandElementDb) \
|
---|
46 | (CommandBondLengthTable) \
|
---|
47 | (CommandFastParsing) \
|
---|
48 | (CommandHelp) \
|
---|
49 | (CommandHelpRedistribute) \
|
---|
50 | (CommandLoadSession) \
|
---|
51 | (CommandSetRandomNumbersEngine) \
|
---|
52 | (CommandSetRandomNumbersDistribution) \
|
---|
53 | (CommandStoreSession) \
|
---|
54 | (CommandVerbose) \
|
---|
55 | (CommandVersion) \
|
---|
56 | (CommandWarranty) \
|
---|
57 | (ParserSetTremoloAtomdata) \
|
---|
58 | (ParserParseTremoloPotentials) \
|
---|
59 | (ParserSaveSelectedAtomsAsExtTypes) \
|
---|
60 | (ParserSetParserParameters) \
|
---|
61 | (ParserSetOutputFormats) \
|
---|
62 | (AnalysisCalculateBoundingBox) \
|
---|
63 | (AnalysisCalculateCellVolume) \
|
---|
64 | (AnalysisCalculateMolarMass) \
|
---|
65 | (AnalysisDipoleAngularCorrelation) \
|
---|
66 | (AnalysisDipoleCorrelation) \
|
---|
67 | (AnalysisPairCorrelation) \
|
---|
68 | (AnalysisPointCorrelation) \
|
---|
69 | (AnalysisSurfaceCorrelation) \
|
---|
70 | (AnalysisMolecularVolume) \
|
---|
71 | (AnalysisPrincipalAxisSystem) \
|
---|
72 | (Undo) \
|
---|
73 | (AtomSaveSelectedAtoms) \
|
---|
74 | (AtomRotateAroundOriginByAngle) \
|
---|
75 | (AtomChangeElement) \
|
---|
76 | (AtomRemove) \
|
---|
77 | (AtomTranslate) \
|
---|
78 | (AtomAdd) \
|
---|
79 | (BondAdd) \
|
---|
80 | (BondRemove) \
|
---|
81 | (WorldCenterInBox) \
|
---|
82 | (WorldRepeatBox) \
|
---|
83 | (WorldChangeBox) \
|
---|
84 | (WorldCenterOnEdge) \
|
---|
85 | (WorldSetWorldTime) \
|
---|
86 | (WorldSetBoundaryConditions) \
|
---|
87 | (WorldOutput) \
|
---|
88 | (WorldOutputAs) \
|
---|
89 | (WorldSetDefaultName) \
|
---|
90 | (WorldScaleBox) \
|
---|
91 | (WorldAddEmptyBoundary) \
|
---|
92 | (WorldBoundInBox) \
|
---|
93 | (WorldInput) \
|
---|
94 | (SelectionNotMoleculeOfAtom) \
|
---|
95 | (SelectionNotAllMolecules) \
|
---|
96 | (SelectionNotMoleculeById) \
|
---|
97 | (SelectionMoleculeByOrder) \
|
---|
98 | (SelectionMoleculeOfAtom) \
|
---|
99 | (SelectionNotMoleculeByOrder) \
|
---|
100 | (SelectionMoleculeByName) \
|
---|
101 | (SelectionMoleculeById) \
|
---|
102 | (SelectionAllMolecules) \
|
---|
103 | (SelectionClearAllMolecules) \
|
---|
104 | (SelectionInvertMolecules) \
|
---|
105 | (SelectionMoleculeByFormula) \
|
---|
106 | (SelectionNotMoleculeByFormula) \
|
---|
107 | (SelectionNotMoleculeByName) \
|
---|
108 | (SelectionNotAtomById) \
|
---|
109 | (SelectionNotAtomByOrder) \
|
---|
110 | (SelectionAllAtoms) \
|
---|
111 | (SelectionClearAllAtoms) \
|
---|
112 | (SelectionInvertAtoms) \
|
---|
113 | (SelectionNotAllAtoms) \
|
---|
114 | (SelectionNotAtomByElement) \
|
---|
115 | (SelectionAllAtomsInsideVolume) \
|
---|
116 | (SelectionAllAtomsOfMolecule) \
|
---|
117 | (SelectionNotAllAtomsInsideVolume) \
|
---|
118 | (SelectionAtomByElement) \
|
---|
119 | (SelectionNotAllAtomsOfMolecule) \
|
---|
120 | (SelectionAtomById) \
|
---|
121 | (SelectionAtomByOrder) \
|
---|
122 | (SelectionAllShapes) \
|
---|
123 | (SelectionShapeByName) \
|
---|
124 | (SelectionNotAllShapes) \
|
---|
125 | (SelectionNotShapeByName) \
|
---|
126 | (FragmentationAnalyseFragmentationResults) \
|
---|
127 | (FragmentationFragmentation) \
|
---|
128 | (FragmentationStoreSaturatedFragment) \
|
---|
129 | (PotentialFitParticleCharges) \
|
---|
130 | (PotentialParseHomologies) \
|
---|
131 | (PotentialSaveHomologies) \
|
---|
132 | (FillRegularGrid) \
|
---|
133 | (FillSurface) \
|
---|
134 | (ShapeCombineShapes) \
|
---|
135 | (ShapeCreateShape) \
|
---|
136 | (ShapeRemoveShape) \
|
---|
137 | (ShapeRotateShape) \
|
---|
138 | (ShapeStretchShape) \
|
---|
139 | (ShapeTranslateShape)
|
---|
140 |
|
---|
141 | // we need to append the automation action in case we have the JobMarket
|
---|
142 | #ifdef HAVE_JOBMARKET
|
---|
143 | #define GLOBALLISTOFACTIONS_JOBMARKET \
|
---|
144 | BOOST_PP_SEQ_PUSH_BACK( \
|
---|
145 | BOOST_PP_SEQ_PUSH_BACK( \
|
---|
146 | BOOST_PP_SEQ_PUSH_BACK( \
|
---|
147 | GLOBALLISTOFACTIONS_initial, \
|
---|
148 | FragmentationFragmentationAutomation \
|
---|
149 | ), \
|
---|
150 | FragmentationMolecularDynamics \
|
---|
151 | ), \
|
---|
152 | FragmentationParseFragmentJobs \
|
---|
153 | )
|
---|
154 | #else
|
---|
155 | #define GLOBALLISTOFACTIONS_JOBMARKET \
|
---|
156 | GLOBALLISTOFACTIONS_initial
|
---|
157 | #endif /* HAVE_JOBMARKET */
|
---|
158 |
|
---|
159 | #ifdef HAVE_LEVMAR
|
---|
160 | #define GLOBALLISTOFACTIONS_LEVMAR \
|
---|
161 | BOOST_PP_SEQ_PUSH_BACK( \
|
---|
162 | GLOBALLISTOFACTIONS_JOBMARKET, \
|
---|
163 | PotentialFitPotential \
|
---|
164 | )
|
---|
165 | #else
|
---|
166 | #define GLOBALLISTOFACTIONS_LEVMAR \
|
---|
167 | GLOBALLISTOFACTIONS_JOBMARKET
|
---|
168 | #endif /* HAVE_LEVMAR */
|
---|
169 |
|
---|
170 | // define final list
|
---|
171 | #define GLOBALLISTOFACTIONS GLOBALLISTOFACTIONS_LEVMAR
|
---|
172 |
|
---|
173 | #endif /* GLOBALLISTOFACTIONS_HPP_ */
|
---|
174 |
|
---|