source: src/Actions/GlobalListOfActions.hpp@ 7672284

Action_Thermostats Add_AtomRandomPerturbation Add_RotateAroundBondAction Add_SelectAtomByNameAction Adding_Graph_to_ChangeBondActions Adding_MD_integration_tests Adding_StructOpt_integration_tests AutomationFragmentation_failures Candidate_v1.6.0 Candidate_v1.6.1 ChangeBugEmailaddress ChangingTestPorts ChemicalSpaceEvaluator Debian_Package_split Debian_package_split_molecuildergui_only Disabling_MemDebug Docu_Python_wait EmpiricalPotential_contain_HomologyGraph_documentation Enable_parallel_make_install Enhance_userguide Enhanced_StructuralOptimization Enhanced_StructuralOptimization_continued Example_ManyWaysToTranslateAtom Exclude_Hydrogens_annealWithBondGraph FitPartialCharges_GlobalError Fix_ChronosMutex Fix_StatusMsg Fix_StepWorldTime_single_argument Fix_Verbose_Codepatterns ForceAnnealing_goodresults ForceAnnealing_oldresults ForceAnnealing_tocheck ForceAnnealing_with_BondGraph ForceAnnealing_with_BondGraph_continued ForceAnnealing_with_BondGraph_continued_betteresults ForceAnnealing_with_BondGraph_contraction-expansion GeometryObjects Gui_displays_atomic_force_velocity IndependentFragmentGrids_IntegrationTest JobMarket_RobustOnKillsSegFaults JobMarket_StableWorkerPool JobMarket_unresolvable_hostname_fix PartialCharges_OrthogonalSummation PythonUI_with_named_parameters QtGui_reactivate_TimeChanged_changes Recreated_GuiChecks RotateToPrincipalAxisSystem_UndoRedo StoppableMakroAction TremoloParser_IncreasedPrecision TremoloParser_MultipleTimesteps Ubuntu_1604_changes stable
Last change on this file since 7672284 was 2d1280, checked in by Frederik Heber <heber@…>, 8 years ago

Added BondSetDegreeAction for manipulating bond degrees.

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