source: src/Actions/GlobalListOfActions.hpp@ c26617

Action_Thermostats Add_AtomRandomPerturbation Add_FitFragmentPartialChargesAction Add_RotateAroundBondAction Add_SelectAtomByNameAction Added_ParseSaveFragmentResults AddingActions_SaveParseParticleParameters Adding_Graph_to_ChangeBondActions Adding_MD_integration_tests Adding_ParticleName_to_Atom Adding_StructOpt_integration_tests AtomFragments Automaking_mpqc_open AutomationFragmentation_failures Candidate_v1.5.4 Candidate_v1.6.0 Candidate_v1.6.1 ChangeBugEmailaddress ChangingTestPorts ChemicalSpaceEvaluator CombiningParticlePotentialParsing Combining_Subpackages Debian_Package_split Debian_package_split_molecuildergui_only Disabling_MemDebug Docu_Python_wait EmpiricalPotential_contain_HomologyGraph EmpiricalPotential_contain_HomologyGraph_documentation Enable_parallel_make_install Enhance_userguide Enhanced_StructuralOptimization Enhanced_StructuralOptimization_continued Example_ManyWaysToTranslateAtom Exclude_Hydrogens_annealWithBondGraph FitPartialCharges_GlobalError Fix_BoundInBox_CenterInBox_MoleculeActions Fix_ChargeSampling_PBC Fix_ChronosMutex Fix_FitPartialCharges Fix_FitPotential_needs_atomicnumbers Fix_ForceAnnealing Fix_IndependentFragmentGrids Fix_ParseParticles Fix_ParseParticles_split_forward_backward_Actions Fix_PopActions Fix_QtFragmentList_sorted_selection Fix_Restrictedkeyset_FragmentMolecule Fix_StatusMsg Fix_StepWorldTime_single_argument Fix_Verbose_Codepatterns Fix_fitting_potentials Fixes ForceAnnealing_goodresults ForceAnnealing_oldresults ForceAnnealing_tocheck ForceAnnealing_with_BondGraph ForceAnnealing_with_BondGraph_continued ForceAnnealing_with_BondGraph_continued_betteresults ForceAnnealing_with_BondGraph_contraction-expansion FragmentAction_writes_AtomFragments FragmentMolecule_checks_bonddegrees GeometryObjects Gui_Fixes Gui_displays_atomic_force_velocity ImplicitCharges IndependentFragmentGrids IndependentFragmentGrids_IndividualZeroInstances IndependentFragmentGrids_IntegrationTest IndependentFragmentGrids_Sole_NN_Calculation JobMarket_RobustOnKillsSegFaults JobMarket_StableWorkerPool JobMarket_unresolvable_hostname_fix MoreRobust_FragmentAutomation ODR_violation_mpqc_open PartialCharges_OrthogonalSummation PdbParser_setsAtomName PythonUI_with_named_parameters QtGui_reactivate_TimeChanged_changes Recreated_GuiChecks Rewrite_FitPartialCharges RotateToPrincipalAxisSystem_UndoRedo SaturateAtoms_findBestMatching SaturateAtoms_singleDegree StoppableMakroAction Subpackage_CodePatterns Subpackage_JobMarket Subpackage_LinearAlgebra Subpackage_levmar Subpackage_mpqc_open Subpackage_vmg Switchable_LogView ThirdParty_MPQC_rebuilt_buildsystem TrajectoryDependenant_MaxOrder TremoloParser_IncreasedPrecision TremoloParser_MultipleTimesteps TremoloParser_setsAtomName Ubuntu_1604_changes stable
Last change on this file since c26617 was 066442, checked in by Frederik Heber <heber@…>, 10 years ago

Added TranslateMolecule action.

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