source: src/Actions/GlobalListOfActions.hpp@ 5fea7d

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.1 ChangeBugEmailaddress ChangingTestPorts ChemicalSpaceEvaluator Docu_Python_wait EmpiricalPotential_contain_HomologyGraph_documentation Enhance_userguide Enhanced_StructuralOptimization Enhanced_StructuralOptimization_continued Example_ManyWaysToTranslateAtom Exclude_Hydrogens_annealWithBondGraph 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 PythonUI_with_named_parameters QtGui_reactivate_TimeChanged_changes Recreated_GuiChecks RotateToPrincipalAxisSystem_UndoRedo StoppableMakroAction TremoloParser_IncreasedPrecision TremoloParser_MultipleTimesteps Ubuntu_1604_changes
Last change on this file since 5fea7d 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
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) \
[22b786]71 (GraphUpdateMolecules) \
[343c5a]72 (GraphCorrectBondDegree) \
[004d5c]73 (GraphCreateAdjacency) \
74 (GraphDepthFirstSearch) \
[560cbf]75 (GraphDestroyAdjacency) \
[22b786]76 (GraphSubgraphDissection) \
[442495]77 (MoleculeBondFile) \
78 (MoleculeChangeName) \
79 (MoleculeChangeBondAngle) \
[004d5c]80 (MoleculeCopy) \
[1a48d2]81 (MoleculeForceAnnealing) \
[442495]82 (MoleculeLinearInterpolationofTrajectories) \
83 (MoleculeLoad) \
[867473]84 (MoleculeRemove) \
[004d5c]85 (MoleculeRotateAroundSelfByAngle) \
[442495]86 (MoleculeRotateToPrincipalAxisSystem) \
87 (MoleculeSaveAdjacency) \
[004d5c]88 (MoleculeSaveBonds) \
[442495]89 (MoleculeSaveSelectedMolecules) \
90 (MoleculeSaveTemperature) \
[3a51bd]91 (MoleculeStretchBond) \
[066442]92 (MoleculeTranslate) \
[442495]93 (MoleculeVerletIntegration) \
[50d49d]94 (PotentialFitPartialCharges) \
[78202b]95 (PotentialParseAtomFragments) \
[442495]96 (PotentialParseHomologies) \
[2082637]97 (PotentialParseParticleParameters) \
[f1eabd]98 (PotentialParsePotentials) \
[78202b]99 (PotentialSaveAtomFragments) \
[442495]100 (PotentialSaveHomologies) \
[2082637]101 (PotentialSaveParticleParameters) \
[0ea063]102 (PotentialSavePotentials) \
[004d5c]103 (ParserSaveSelectedAtomsAsExtTypes) \
104 (ParserSetParserParameters) \
105 (ParserSetOutputFormats) \
[442495]106 (ParserSetTremoloAtomdata) \
[004d5c]107 (Undo) \
[442495]108 (SelectionAllAtoms) \
109 (SelectionAllAtomsInsideVolume) \
110 (SelectionAllAtomsOfMolecule) \
[004d5c]111 (SelectionAllMolecules) \
[442495]112 (SelectionAllShapes) \
113 (SelectionAtomByElement) \
114 (SelectionAtomById) \
115 (SelectionAtomByOrder) \
116 (SelectionClearAllAtoms) \
[004d5c]117 (SelectionClearAllMolecules) \
[442495]118 (SelectionInvertAtoms) \
[ebc499]119 (SelectionInvertMolecules) \
[442495]120 (SelectionMoleculeOfAtom) \
[004d5c]121 (SelectionMoleculeByFormula) \
[442495]122 (SelectionMoleculeById) \
123 (SelectionMoleculeByName) \
124 (SelectionMoleculeByOrder) \
[004d5c]125 (SelectionNotAllAtoms) \
[eff536]126 (SelectionNotAllAtomsInsideVolume) \
[004d5c]127 (SelectionNotAllAtomsOfMolecule) \
[442495]128 (SelectionNotAllMolecules) \
[a27dcb]129 (SelectionNotAllShapes) \
[442495]130 (SelectionNotAtomById) \
131 (SelectionNotAtomByElement) \
132 (SelectionNotAtomByOrder) \
133 (SelectionNotMoleculeOfAtom) \
134 (SelectionNotMoleculeByFormula) \
135 (SelectionNotMoleculeById) \
136 (SelectionNotMoleculeByName) \
137 (SelectionNotMoleculeByOrder) \
[2c004d]138 (SelectionNotShapeByName) \
[3213f2]139 (SelectionPopAtoms) \
140 (SelectionPushAtoms) \
[a84e8d]141 (SelectionPopMolecules) \
142 (SelectionPushMolecules) \
[442495]143 (SelectionShapeByName) \
[d475a6]144 (ShapeCombineShapes) \
[f20da5]145 (ShapeCreateShape) \
[0b5057]146 (ShapeRemoveShape) \
[a2bbb1]147 (ShapeRotateShape) \
[29ea65]148 (ShapeStretchShape) \
[442495]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) \
[72e40d0]164 (WorldSetWorldTime) \
165 (WorldStepWorldTime)
[004d5c]166
[786d28]167// extend list of actions in case levmar is available
[48d20d]168#ifdef HAVE_LEVMAR
169#define GLOBALLISTOFACTIONS_LEVMAR \
170 BOOST_PP_SEQ_PUSH_BACK( \
[98d166]171 BOOST_PP_SEQ_PUSH_BACK( \
172 GLOBALLISTOFACTIONS_initial, \
173 PotentialFitPotential \
174 ), \
175 PotentialFitCompoundPotential \
[48d20d]176 )
177#else
178#define GLOBALLISTOFACTIONS_LEVMAR \
[786d28]179 GLOBALLISTOFACTIONS_initial
[48d20d]180#endif /* HAVE_LEVMAR */
181
182// define final list
[0d4168]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
[48d20d]200
[83e90c]201#endif /* GLOBALLISTOFACTIONS_HPP_ */
202
Note: See TracBrowser for help on using the repository browser.