source: src/Actions/GlobalListOfActions.hpp@ 2a28cd

Add_FitFragmentPartialChargesAction Fix_ChargeSampling_PBC Fix_FitPartialCharges Fix_FitPotential_needs_atomicnumbers
Last change on this file since 2a28cd was 4d1aef, checked in by Frederik Heber <heber@…>, 9 years ago

Added single action to step backward and forward through time.

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