source: src/Actions/GlobalListOfActions.hpp@ 2312fc6

Action_Thermostats Add_AtomRandomPerturbation Add_FitFragmentPartialChargesAction Add_RotateAroundBondAction Add_SelectAtomByNameAction Adding_Graph_to_ChangeBondActions Adding_MD_integration_tests Adding_StructOpt_integration_tests Automaking_mpqc_open AutomationFragmentation_failures Candidate_v1.5.4 Candidate_v1.6.0 Candidate_v1.6.1 ChangeBugEmailaddress ChangingTestPorts ChemicalSpaceEvaluator 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_ChargeSampling_PBC Fix_ChronosMutex Fix_FitPartialCharges Fix_FitPotential_needs_atomicnumbers Fix_ForceAnnealing Fix_IndependentFragmentGrids Fix_ParseParticles Fix_ParseParticles_split_forward_backward_Actions Fix_StatusMsg Fix_StepWorldTime_single_argument Fix_Verbose_Codepatterns Fixes 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 IndependentFragmentGrids_IndividualZeroInstances IndependentFragmentGrids_IntegrationTest IndependentFragmentGrids_Sole_NN_Calculation JobMarket_RobustOnKillsSegFaults JobMarket_StableWorkerPool JobMarket_unresolvable_hostname_fix ODR_violation_mpqc_open PartialCharges_OrthogonalSummation PythonUI_with_named_parameters QtGui_reactivate_TimeChanged_changes Recreated_GuiChecks RotateToPrincipalAxisSystem_UndoRedo SaturateAtoms_findBestMatching SaturateAtoms_singleDegree StoppableMakroAction Subpackage_CodePatterns Subpackage_JobMarket Subpackage_LinearAlgebra Subpackage_levmar Subpackage_mpqc_open Subpackage_vmg ThirdParty_MPQC_rebuilt_buildsystem TrajectoryDependenant_MaxOrder TremoloParser_IncreasedPrecision TremoloParser_MultipleTimesteps Ubuntu_1604_changes stable
Last change on this file since 2312fc6 was 73a5f7, checked in by Frederik Heber <heber@…>, 8 years ago

Added parsing and saving of fragment results container state.

  • TEST: Added regression test on saving and parsing results, including undo and redo tests.
  • DOCU: Both actions are fully documented.
  • 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
165// extend list of actions in case levmar is available
166#ifdef HAVE_LEVMAR
167#define GLOBALLISTOFACTIONS_LEVMAR \
168 BOOST_PP_SEQ_PUSH_BACK( \
169 BOOST_PP_SEQ_PUSH_BACK( \
170 GLOBALLISTOFACTIONS_initial, \
171 PotentialFitPotential \
172 ), \
173 PotentialFitCompoundPotential \
174 )
175#else
176#define GLOBALLISTOFACTIONS_LEVMAR \
177 GLOBALLISTOFACTIONS_initial
178#endif /* HAVE_LEVMAR */
179
180// define final list
181#ifdef HAVE_PYTHON
182#define GLOBALLISTOFACTIONS_PYTHON \
183 BOOST_PP_SEQ_PUSH_BACK( \
184 GLOBALLISTOFACTIONS_LEVMAR, \
185 CommandLoadSession \
186 )
187#else
188#define GLOBALLISTOFACTIONS_PYTHON \
189 GLOBALLISTOFACTIONS_LEVMAR
190#endif
191
192#define GLOBALLISTOFACTIONS GLOBALLISTOFACTIONS_PYTHON
193
194// define python list
195// skips CommandLoadSession as this causes dangerous infinite loops
196#define GLOBALLISTOFPYTHONACTIONS \
197 GLOBALLISTOFACTIONS_LEVMAR
198
199#endif /* GLOBALLISTOFACTIONS_HPP_ */
200
Note: See TracBrowser for help on using the repository browser.