source: src/Actions/GlobalListOfActions.hpp@ 23b6cf

Last change on this file since 23b6cf was 5c8807, checked in by Frederik Heber <heber@…>, 10 years ago

Merge branch 'Experiment_Amylose_Water' into Candidate_v1.4.9

Conflicts:

doc/userguide/userguide.xml
tests/regression/Atoms/testsuite-atoms.at

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