source: src/Actions/GlobalListOfActions.hpp@ 73faf4

ForceAnnealing_goodresults ForceAnnealing_tocheck
Last change on this file since 73faf4 was 5f0ddd, checked in by Frederik Heber <frederik.heber@…>, 8 years ago

Added GeometryRemoveAction.

  • TESTS: Also added regression test.
  • Property mode set to 100644
File size: 5.5 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) \
[2fcef3]37 (AtomSaturate) \
[442495]38 (AtomSaveSelectedAtoms) \
39 (AtomTranslate) \
[c7fe90]40 (AtomTranslateToOrigin) \
[442495]41 (BondAdd) \
42 (BondRemove) \
[2d1280]43 (BondSetDegree) \
[f3db60]44 (CommandDryRun) \
[442495]45 (CommandElementDb) \
46 (CommandBondLengthTable) \
47 (CommandFastParsing) \
48 (CommandHelp) \
49 (CommandHelpRedistribute) \
[f3db60]50 (CommandNoDryRun) \
[442495]51 (CommandSetRandomNumbersEngine) \
52 (CommandSetRandomNumbersDistribution) \
53 (CommandStoreSession) \
54 (CommandVerbose) \
55 (CommandVersion) \
56 (CommandWarranty) \
57 (FillRegularGrid) \
58 (FillSurface) \
[aa55d0]59 (FillSuspendInMolecule) \
[6801f4]60 (FillVolume) \
[442495]61 (FragmentationAnalyseFragmentationResults) \
62 (FragmentationClearFragmentationResults) \
63 (FragmentationFragmentation) \
64 (FragmentationFragmentationAutomation) \
65 (FragmentationMolecularDynamics) \
66 (FragmentationParseFragmentJobs) \
[73a5f7]67 (FragmentationParseFragmentResults) \
68 (FragmentationSaveFragmentResults) \
[442495]69 (FragmentationStoreSaturatedFragment) \
[e5f61ba]70 (FragmentationStructuralOptimization) \
[5f869d7]71 (GeometryDistanceToVector) \
72 (GeometryInputToVector) \
73 (GeometryPlaneToVector) \
74 (GeometryPositionToVector) \
[5f0ddd]75 (GeometryRemove) \
[22b786]76 (GraphUpdateMolecules) \
[343c5a]77 (GraphCorrectBondDegree) \
[004d5c]78 (GraphCreateAdjacency) \
79 (GraphDepthFirstSearch) \
[560cbf]80 (GraphDestroyAdjacency) \
[22b786]81 (GraphSubgraphDissection) \
[442495]82 (MoleculeBondFile) \
83 (MoleculeChangeName) \
84 (MoleculeChangeBondAngle) \
[004d5c]85 (MoleculeCopy) \
[1a48d2]86 (MoleculeForceAnnealing) \
[442495]87 (MoleculeLinearInterpolationofTrajectories) \
88 (MoleculeLoad) \
[867473]89 (MoleculeRemove) \
[004d5c]90 (MoleculeRotateAroundSelfByAngle) \
[442495]91 (MoleculeRotateToPrincipalAxisSystem) \
92 (MoleculeSaveAdjacency) \
[004d5c]93 (MoleculeSaveBonds) \
[442495]94 (MoleculeSaveSelectedMolecules) \
95 (MoleculeSaveTemperature) \
[3a51bd]96 (MoleculeStretchBond) \
[066442]97 (MoleculeTranslate) \
[442495]98 (MoleculeVerletIntegration) \
[50d49d]99 (PotentialFitPartialCharges) \
[78202b]100 (PotentialParseAtomFragments) \
[442495]101 (PotentialParseHomologies) \
[2082637]102 (PotentialParseParticleParameters) \
[f1eabd]103 (PotentialParsePotentials) \
[78202b]104 (PotentialSaveAtomFragments) \
[442495]105 (PotentialSaveHomologies) \
[2082637]106 (PotentialSaveParticleParameters) \
[0ea063]107 (PotentialSavePotentials) \
[004d5c]108 (ParserSaveSelectedAtomsAsExtTypes) \
109 (ParserSetParserParameters) \
110 (ParserSetOutputFormats) \
[442495]111 (ParserSetTremoloAtomdata) \
[004d5c]112 (Undo) \
[442495]113 (SelectionAllAtoms) \
114 (SelectionAllAtomsInsideVolume) \
115 (SelectionAllAtomsOfMolecule) \
[004d5c]116 (SelectionAllMolecules) \
[442495]117 (SelectionAllShapes) \
118 (SelectionAtomByElement) \
119 (SelectionAtomById) \
120 (SelectionAtomByOrder) \
121 (SelectionClearAllAtoms) \
[004d5c]122 (SelectionClearAllMolecules) \
[442495]123 (SelectionInvertAtoms) \
[ebc499]124 (SelectionInvertMolecules) \
[442495]125 (SelectionMoleculeOfAtom) \
[004d5c]126 (SelectionMoleculeByFormula) \
[442495]127 (SelectionMoleculeById) \
128 (SelectionMoleculeByName) \
129 (SelectionMoleculeByOrder) \
[004d5c]130 (SelectionNotAllAtoms) \
[eff536]131 (SelectionNotAllAtomsInsideVolume) \
[004d5c]132 (SelectionNotAllAtomsOfMolecule) \
[442495]133 (SelectionNotAllMolecules) \
[a27dcb]134 (SelectionNotAllShapes) \
[442495]135 (SelectionNotAtomById) \
136 (SelectionNotAtomByElement) \
137 (SelectionNotAtomByOrder) \
138 (SelectionNotMoleculeOfAtom) \
139 (SelectionNotMoleculeByFormula) \
140 (SelectionNotMoleculeById) \
141 (SelectionNotMoleculeByName) \
142 (SelectionNotMoleculeByOrder) \
[2c004d]143 (SelectionNotShapeByName) \
[3213f2]144 (SelectionPopAtoms) \
145 (SelectionPushAtoms) \
[a84e8d]146 (SelectionPopMolecules) \
147 (SelectionPushMolecules) \
[442495]148 (SelectionShapeByName) \
[d475a6]149 (ShapeCombineShapes) \
[f20da5]150 (ShapeCreateShape) \
[0b5057]151 (ShapeRemoveShape) \
[a2bbb1]152 (ShapeRotateShape) \
[29ea65]153 (ShapeStretchShape) \
[442495]154 (ShapeTranslateShape) \
155 (TesselationConvexEnvelope) \
156 (TesselationNonConvexEnvelope) \
157 (WorldAddEmptyBoundary) \
158 (WorldBoundInBox) \
159 (WorldCenterInBox) \
160 (WorldCenterOnEdge) \
161 (WorldChangeBox) \
162 (WorldInput) \
163 (WorldOutput) \
164 (WorldOutputAs) \
165 (WorldRepeatBox) \
166 (WorldScaleBox) \
167 (WorldSetBoundaryConditions) \
168 (WorldSetDefaultName) \
[72e40d0]169 (WorldSetWorldTime) \
170 (WorldStepWorldTime)
[004d5c]171
[786d28]172// extend list of actions in case levmar is available
[48d20d]173#ifdef HAVE_LEVMAR
174#define GLOBALLISTOFACTIONS_LEVMAR \
175 BOOST_PP_SEQ_PUSH_BACK( \
[98d166]176 BOOST_PP_SEQ_PUSH_BACK( \
177 GLOBALLISTOFACTIONS_initial, \
178 PotentialFitPotential \
179 ), \
180 PotentialFitCompoundPotential \
[48d20d]181 )
182#else
183#define GLOBALLISTOFACTIONS_LEVMAR \
[786d28]184 GLOBALLISTOFACTIONS_initial
[48d20d]185#endif /* HAVE_LEVMAR */
186
187// define final list
[0d4168]188#ifdef HAVE_PYTHON
189#define GLOBALLISTOFACTIONS_PYTHON \
190 BOOST_PP_SEQ_PUSH_BACK( \
191 GLOBALLISTOFACTIONS_LEVMAR, \
192 CommandLoadSession \
193 )
194#else
195#define GLOBALLISTOFACTIONS_PYTHON \
196 GLOBALLISTOFACTIONS_LEVMAR
197#endif
198
199#define GLOBALLISTOFACTIONS GLOBALLISTOFACTIONS_PYTHON
200
201// define python list
202// skips CommandLoadSession as this causes dangerous infinite loops
203#define GLOBALLISTOFPYTHONACTIONS \
204 GLOBALLISTOFACTIONS_LEVMAR
[48d20d]205
[83e90c]206#endif /* GLOBALLISTOFACTIONS_HPP_ */
207
Note: See TracBrowser for help on using the repository browser.