source: src/Actions/GlobalListOfActions.hpp@ adb51ab

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 adb51ab was 12d946, checked in by Frederik Heber <heber@…>, 11 years ago

Implemented LoadSessionAction.

  • this it also used in builder_init.cpp.
  • added load-session to tokens not stored in ActionQueue::outputAs...().
  • added regression test which loads a stored action and stores again to compare the two scripts.
  • Property mode set to 100644
File size: 4.6 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
18// this is global list of actions valid for all cases
19#define GLOBALLISTOFACTIONS_initial \
20 (Redo) \
21 (GraphUpdateMolecules) \
22 (GraphCreateAdjacency) \
23 (GraphDepthFirstSearch) \
24 (GraphDestroyAdjacency) \
25 (GraphSubgraphDissection) \
26 (MoleculeSaveTemperature) \
27 (MoleculeCopy) \
28 (MoleculeSuspendInWater) \
29 (MoleculeFillWithMolecule) \
30 (MoleculeRotateToPrincipalAxisSystem) \
31 (MoleculeSaveAdjacency) \
32 (MoleculeFillVoidWithMolecule) \
33 (MoleculeVerletIntegration) \
34 (MoleculeChangeName) \
35 (MoleculeChangeBondAngle) \
36 (MoleculeRotateAroundSelfByAngle) \
37 (MoleculeSaveSelectedMolecules) \
38 (MoleculeSaveBonds) \
39 (MoleculeStretchBond) \
40 (MoleculeLinearInterpolationofTrajectories) \
41 (MoleculeLoad) \
42 (MoleculeBondFile) \
43 (TesselationNonConvexEnvelope) \
44 (TesselationConvexEnvelope) \
45 (CommandElementDb) \
46 (CommandBondLengthTable) \
47 (CommandFastParsing) \
48 (CommandHelp) \
49 (CommandHelpRedistribute) \
50 (CommandLoadSession) \
51 (CommandSetRandomNumbersEngine) \
52 (CommandSetRandomNumbersDistribution) \
53 (CommandStoreSession) \
54 (CommandVerbose) \
55 (CommandVersion) \
56 (CommandWarranty) \
57 (ParserSetTremoloAtomdata) \
58 (ParserParseTremoloPotentials) \
59 (ParserSaveSelectedAtomsAsExtTypes) \
60 (ParserSetParserParameters) \
61 (ParserSetOutputFormats) \
62 (AnalysisCalculateBoundingBox) \
63 (AnalysisCalculateCellVolume) \
64 (AnalysisCalculateMolarMass) \
65 (AnalysisDipoleAngularCorrelation) \
66 (AnalysisDipoleCorrelation) \
67 (AnalysisPairCorrelation) \
68 (AnalysisPointCorrelation) \
69 (AnalysisSurfaceCorrelation) \
70 (AnalysisMolecularVolume) \
71 (AnalysisPrincipalAxisSystem) \
72 (Undo) \
73 (AtomSaveSelectedAtoms) \
74 (AtomRotateAroundOriginByAngle) \
75 (AtomChangeElement) \
76 (AtomRemove) \
77 (AtomTranslate) \
78 (AtomAdd) \
79 (BondAdd) \
80 (BondRemove) \
81 (WorldCenterInBox) \
82 (WorldRepeatBox) \
83 (WorldChangeBox) \
84 (WorldCenterOnEdge) \
85 (WorldSetWorldTime) \
86 (WorldSetBoundaryConditions) \
87 (WorldOutput) \
88 (WorldOutputAs) \
89 (WorldSetDefaultName) \
90 (WorldScaleBox) \
91 (WorldAddEmptyBoundary) \
92 (WorldBoundInBox) \
93 (WorldInput) \
94 (SelectionNotMoleculeOfAtom) \
95 (SelectionNotAllMolecules) \
96 (SelectionNotMoleculeById) \
97 (SelectionMoleculeByOrder) \
98 (SelectionMoleculeOfAtom) \
99 (SelectionNotMoleculeByOrder) \
100 (SelectionMoleculeByName) \
101 (SelectionMoleculeById) \
102 (SelectionAllMolecules) \
103 (SelectionClearAllMolecules) \
104 (SelectionInvertMolecules) \
105 (SelectionMoleculeByFormula) \
106 (SelectionNotMoleculeByFormula) \
107 (SelectionNotMoleculeByName) \
108 (SelectionNotAtomById) \
109 (SelectionNotAtomByOrder) \
110 (SelectionAllAtoms) \
111 (SelectionClearAllAtoms) \
112 (SelectionInvertAtoms) \
113 (SelectionNotAllAtoms) \
114 (SelectionNotAtomByElement) \
115 (SelectionAllAtomsInsideVolume) \
116 (SelectionAllAtomsOfMolecule) \
117 (SelectionNotAllAtomsInsideVolume) \
118 (SelectionAtomByElement) \
119 (SelectionNotAllAtomsOfMolecule) \
120 (SelectionAtomById) \
121 (SelectionAtomByOrder) \
122 (SelectionAllShapes) \
123 (SelectionShapeByName) \
124 (SelectionNotAllShapes) \
125 (SelectionNotShapeByName) \
126 (FragmentationAnalyseFragmentationResults) \
127 (FragmentationFragmentation) \
128 (FragmentationStoreSaturatedFragment) \
129 (PotentialFitParticleCharges) \
130 (PotentialParseHomologies) \
131 (PotentialSaveHomologies) \
132 (FillRegularGrid) \
133 (FillSurface) \
134 (ShapeCombineShapes) \
135 (ShapeCreateShape) \
136 (ShapeRemoveShape) \
137 (ShapeRotateShape) \
138 (ShapeStretchShape) \
139 (ShapeTranslateShape)
140
141// we need to append the automation action in case we have the JobMarket
142#ifdef HAVE_JOBMARKET
143#define GLOBALLISTOFACTIONS_JOBMARKET \
144 BOOST_PP_SEQ_PUSH_BACK( \
145 BOOST_PP_SEQ_PUSH_BACK( \
146 BOOST_PP_SEQ_PUSH_BACK( \
147 GLOBALLISTOFACTIONS_initial, \
148 FragmentationFragmentationAutomation \
149 ), \
150 FragmentationMolecularDynamics \
151 ), \
152 FragmentationParseFragmentJobs \
153 )
154#else
155#define GLOBALLISTOFACTIONS_JOBMARKET \
156 GLOBALLISTOFACTIONS_initial
157#endif /* HAVE_JOBMARKET */
158
159#ifdef HAVE_LEVMAR
160#define GLOBALLISTOFACTIONS_LEVMAR \
161 BOOST_PP_SEQ_PUSH_BACK( \
162 GLOBALLISTOFACTIONS_JOBMARKET, \
163 PotentialFitPotential \
164 )
165#else
166#define GLOBALLISTOFACTIONS_LEVMAR \
167 GLOBALLISTOFACTIONS_JOBMARKET
168#endif /* HAVE_LEVMAR */
169
170// define final list
171#define GLOBALLISTOFACTIONS GLOBALLISTOFACTIONS_LEVMAR
172
173#endif /* GLOBALLISTOFACTIONS_HPP_ */
174
Note: See TracBrowser for help on using the repository browser.