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
RevLine 
[83e90c]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
[004d5c]16#include <boost/preprocessor/seq/push_back.hpp>
[975b83]17#include <boost/preprocessor/seq/remove.hpp>
[004d5c]18
19// this is global list of actions valid for all cases
[442495]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
[004d5c]22#define GLOBALLISTOFACTIONS_initial \
23 (Redo) \
[f4b626a]24 (AnalysisAverageMoleculeForce) \
[442495]25 (AnalysisDipoleAngularCorrelation) \
26 (AnalysisDipoleCorrelation) \
27 (AnalysisMolecularVolume) \
28 (AnalysisPairCorrelation) \
29 (AnalysisPointCorrelation) \
30 (AnalysisPrincipalAxisSystem) \
31 (AnalysisSurfaceCorrelation) \
32 (AtomAdd) \
33 (AtomChangeElement) \
[bbf6dc]34 (AtomMirror) \
[442495]35 (AtomRemove) \
36 (AtomRotateAroundOriginByAngle) \
37 (AtomSaveSelectedAtoms) \
38 (AtomTranslate) \
[c7fe90]39 (AtomTranslateToOrigin) \
[442495]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) \
[aa55d0]55 (FillSuspendInMolecule) \
[6801f4]56 (FillVolume) \
[442495]57 (FragmentationAnalyseFragmentationResults) \
58 (FragmentationClearFragmentationResults) \
59 (FragmentationFragmentation) \
60 (FragmentationFragmentationAutomation) \
61 (FragmentationMolecularDynamics) \
62 (FragmentationParseFragmentJobs) \
63 (FragmentationStoreSaturatedFragment) \
[e5f61ba]64 (FragmentationStructuralOptimization) \
[22b786]65 (GraphUpdateMolecules) \
[343c5a]66 (GraphCorrectBondDegree) \
[004d5c]67 (GraphCreateAdjacency) \
68 (GraphDepthFirstSearch) \
[560cbf]69 (GraphDestroyAdjacency) \
[22b786]70 (GraphSubgraphDissection) \
[442495]71 (MoleculeBondFile) \
72 (MoleculeChangeName) \
73 (MoleculeChangeBondAngle) \
[004d5c]74 (MoleculeCopy) \
[1a48d2]75 (MoleculeForceAnnealing) \
[442495]76 (MoleculeLinearInterpolationofTrajectories) \
77 (MoleculeLoad) \
[004d5c]78 (MoleculeRotateAroundSelfByAngle) \
[442495]79 (MoleculeRotateToPrincipalAxisSystem) \
80 (MoleculeSaveAdjacency) \
[004d5c]81 (MoleculeSaveBonds) \
[442495]82 (MoleculeSaveSelectedMolecules) \
83 (MoleculeSaveTemperature) \
[3a51bd]84 (MoleculeStretchBond) \
[442495]85 (MoleculeVerletIntegration) \
86 (PotentialFitParticleCharges) \
87 (PotentialParseHomologies) \
[f1eabd]88 (PotentialParsePotentials) \
[442495]89 (PotentialSaveHomologies) \
[0ea063]90 (PotentialSavePotentials) \
[004d5c]91 (ParserParseTremoloPotentials) \
92 (ParserSaveSelectedAtomsAsExtTypes) \
93 (ParserSetParserParameters) \
94 (ParserSetOutputFormats) \
[442495]95 (ParserSetTremoloAtomdata) \
[004d5c]96 (Undo) \
[442495]97 (SelectionAllAtoms) \
98 (SelectionAllAtomsInsideVolume) \
99 (SelectionAllAtomsOfMolecule) \
[004d5c]100 (SelectionAllMolecules) \
[442495]101 (SelectionAllShapes) \
102 (SelectionAtomByElement) \
103 (SelectionAtomById) \
104 (SelectionAtomByOrder) \
105 (SelectionClearAllAtoms) \
[004d5c]106 (SelectionClearAllMolecules) \
[442495]107 (SelectionInvertAtoms) \
[ebc499]108 (SelectionInvertMolecules) \
[442495]109 (SelectionMoleculeOfAtom) \
[004d5c]110 (SelectionMoleculeByFormula) \
[442495]111 (SelectionMoleculeById) \
112 (SelectionMoleculeByName) \
113 (SelectionMoleculeByOrder) \
[004d5c]114 (SelectionNotAllAtoms) \
[eff536]115 (SelectionNotAllAtomsInsideVolume) \
[004d5c]116 (SelectionNotAllAtomsOfMolecule) \
[442495]117 (SelectionNotAllMolecules) \
[a27dcb]118 (SelectionNotAllShapes) \
[442495]119 (SelectionNotAtomById) \
120 (SelectionNotAtomByElement) \
121 (SelectionNotAtomByOrder) \
122 (SelectionNotMoleculeOfAtom) \
123 (SelectionNotMoleculeByFormula) \
124 (SelectionNotMoleculeById) \
125 (SelectionNotMoleculeByName) \
126 (SelectionNotMoleculeByOrder) \
[2c004d]127 (SelectionNotShapeByName) \
[442495]128 (SelectionShapeByName) \
[d475a6]129 (ShapeCombineShapes) \
[f20da5]130 (ShapeCreateShape) \
[0b5057]131 (ShapeRemoveShape) \
[a2bbb1]132 (ShapeRotateShape) \
[29ea65]133 (ShapeStretchShape) \
[442495]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)
[004d5c]150
[786d28]151// extend list of actions in case levmar is available
[48d20d]152#ifdef HAVE_LEVMAR
153#define GLOBALLISTOFACTIONS_LEVMAR \
154 BOOST_PP_SEQ_PUSH_BACK( \
[98d166]155 BOOST_PP_SEQ_PUSH_BACK( \
156 GLOBALLISTOFACTIONS_initial, \
157 PotentialFitPotential \
158 ), \
159 PotentialFitCompoundPotential \
[48d20d]160 )
161#else
162#define GLOBALLISTOFACTIONS_LEVMAR \
[786d28]163 GLOBALLISTOFACTIONS_initial
[48d20d]164#endif /* HAVE_LEVMAR */
165
166// define final list
[0d4168]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
[48d20d]184
[83e90c]185#endif /* GLOBALLISTOFACTIONS_HPP_ */
186
Note: See TracBrowser for help on using the repository browser.