source: src/Actions/GlobalListOfActions.hpp

Candidate_v1.6.1
Last change on this file was f5ea10, checked in by Frederik Heber <frederik.heber@…>, 7 years ago

Added Graph6Reader, extended BoostGraphCreator, added ChemicalSpaceEvaluatorAction.

  • added visible generateAllInducedSubgraphs to Extractors.
  • TESTS: due to new option "graph6" containing a digit we needed to modify moltest_check.py to also scan for digits and not just letters.
  • DOCU: Added evaluate-chemical-space to userguide.
  • Property mode set to 100644
File size: 5.7 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 (FragmentationFragmentation) \
65 (FragmentationFragmentationAutomation) \
66 (FragmentationMolecularDynamics) \
67 (FragmentationParseFragmentJobs) \
68 (FragmentationParseFragmentResults) \
69 (FragmentationSaveFragmentResults) \
70 (FragmentationStoreSaturatedFragment) \
71 (FragmentationStructuralOptimization) \
72 (GeometryDistanceToVector) \
73 (GeometryInputToVector) \
74 (GeometryPlaneToVector) \
75 (GeometryPositionToVector) \
76 (GeometryRemove) \
77 (GraphChemicalSpaceEvaluator) \
78 (GraphUpdateMolecules) \
79 (GraphCorrectBondDegree) \
80 (GraphCreateAdjacency) \
81 (GraphDepthFirstSearch) \
82 (GraphDestroyAdjacency) \
83 (GraphSubgraphDissection) \
84 (MoleculeBondFile) \
85 (MoleculeChangeName) \
86 (MoleculeChangeBondAngle) \
87 (MoleculeCopy) \
88 (MoleculeForceAnnealing) \
89 (MoleculeLinearInterpolationofTrajectories) \
90 (MoleculeLoad) \
91 (MoleculeRemove) \
92 (MoleculeRotateAroundBond) \
93 (MoleculeRotateAroundSelfByAngle) \
94 (MoleculeRotateToPrincipalAxisSystem) \
95 (MoleculeSaveAdjacency) \
96 (MoleculeSaveBonds) \
97 (MoleculeSaveSelectedMolecules) \
98 (MoleculeSaveTemperature) \
99 (MoleculeStretchBond) \
100 (MoleculeTranslate) \
101 (MoleculeVerletIntegration) \
102 (PotentialFitPartialCharges) \
103 (PotentialParseAtomFragments) \
104 (PotentialParseHomologies) \
105 (PotentialParseParticleParameters) \
106 (PotentialParsePotentials) \
107 (PotentialSaveAtomFragments) \
108 (PotentialSaveHomologies) \
109 (PotentialSaveParticleParameters) \
110 (PotentialSavePotentials) \
111 (ParserSaveSelectedAtomsAsExtTypes) \
112 (ParserSetParserParameters) \
113 (ParserSetOutputFormats) \
114 (ParserSetTremoloAtomdata) \
115 (Undo) \
116 (SelectionAllAtoms) \
117 (SelectionAllAtomsInsideVolume) \
118 (SelectionAllAtomsOfMolecule) \
119 (SelectionAllMolecules) \
120 (SelectionAllShapes) \
121 (SelectionAtomByElement) \
122 (SelectionAtomById) \
123 (SelectionAtomByName) \
124 (SelectionAtomByOrder) \
125 (SelectionClearAllAtoms) \
126 (SelectionClearAllMolecules) \
127 (SelectionInvertAtoms) \
128 (SelectionInvertMolecules) \
129 (SelectionMoleculeOfAtom) \
130 (SelectionMoleculeByFormula) \
131 (SelectionMoleculeById) \
132 (SelectionMoleculeByName) \
133 (SelectionMoleculeByOrder) \
134 (SelectionNotAllAtoms) \
135 (SelectionNotAllAtomsInsideVolume) \
136 (SelectionNotAllAtomsOfMolecule) \
137 (SelectionNotAllMolecules) \
138 (SelectionNotAllShapes) \
139 (SelectionNotAtomByElement) \
140 (SelectionNotAtomById) \
141 (SelectionNotAtomByName) \
142 (SelectionNotAtomByOrder) \
143 (SelectionNotMoleculeOfAtom) \
144 (SelectionNotMoleculeByFormula) \
145 (SelectionNotMoleculeById) \
146 (SelectionNotMoleculeByName) \
147 (SelectionNotMoleculeByOrder) \
148 (SelectionNotShapeByName) \
149 (SelectionPopAtoms) \
150 (SelectionPushAtoms) \
151 (SelectionPopMolecules) \
152 (SelectionPushMolecules) \
153 (SelectionShapeByName) \
154 (ShapeCombineShapes) \
155 (ShapeCreateShape) \
156 (ShapeRemoveShape) \
157 (ShapeRotateShape) \
158 (ShapeStretchShape) \
159 (ShapeTranslateShape) \
160 (TesselationConvexEnvelope) \
161 (TesselationNonConvexEnvelope) \
162 (WorldAddEmptyBoundary) \
163 (WorldBoundInBox) \
164 (WorldCenterInBox) \
165 (WorldCenterOnEdge) \
166 (WorldChangeBox) \
167 (WorldInput) \
168 (WorldOutput) \
169 (WorldOutputAs) \
170 (WorldRepeatBox) \
171 (WorldScaleBox) \
172 (WorldSetBoundaryConditions) \
173 (WorldSetDefaultName) \
174 (WorldSetWorldTime) \
175 (WorldStepWorldTime)
176
177// extend list of actions in case levmar is available
178#ifdef HAVE_LEVMAR
179#define GLOBALLISTOFACTIONS_LEVMAR \
180 BOOST_PP_SEQ_PUSH_BACK( \
181 BOOST_PP_SEQ_PUSH_BACK( \
182 GLOBALLISTOFACTIONS_initial, \
183 PotentialFitPotential \
184 ), \
185 PotentialFitCompoundPotential \
186 )
187#else
188#define GLOBALLISTOFACTIONS_LEVMAR \
189 GLOBALLISTOFACTIONS_initial
190#endif /* HAVE_LEVMAR */
191
192// define final list
193#ifdef HAVE_PYTHON
194#define GLOBALLISTOFACTIONS_PYTHON \
195 BOOST_PP_SEQ_PUSH_BACK( \
196 GLOBALLISTOFACTIONS_LEVMAR, \
197 CommandLoadSession \
198 )
199#else
200#define GLOBALLISTOFACTIONS_PYTHON \
201 GLOBALLISTOFACTIONS_LEVMAR
202#endif
203
204#define GLOBALLISTOFACTIONS GLOBALLISTOFACTIONS_PYTHON
205
206// define python list
207// skips CommandLoadSession as this causes dangerous infinite loops
208#define GLOBALLISTOFPYTHONACTIONS \
209 GLOBALLISTOFACTIONS_LEVMAR
210
211#endif /* GLOBALLISTOFACTIONS_HPP_ */
212
Note: See TracBrowser for help on using the repository browser.