source: src/Actions/GlobalListOfActions.hpp@ f58e56

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 f58e56 was 12d946, checked in by Frederik Heber <heber@…>, 12 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
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>
17
18// this is global list of actions valid for all cases
19#define GLOBALLISTOFACTIONS_initial \
20 (Redo) \
[22b786]21 (GraphUpdateMolecules) \
[004d5c]22 (GraphCreateAdjacency) \
23 (GraphDepthFirstSearch) \
[560cbf]24 (GraphDestroyAdjacency) \
[22b786]25 (GraphSubgraphDissection) \
[004d5c]26 (MoleculeSaveTemperature) \
27 (MoleculeCopy) \
28 (MoleculeSuspendInWater) \
29 (MoleculeFillWithMolecule) \
30 (MoleculeRotateToPrincipalAxisSystem) \
31 (MoleculeSaveAdjacency) \
32 (MoleculeFillVoidWithMolecule) \
33 (MoleculeVerletIntegration) \
34 (MoleculeChangeName) \
[8b886f]35 (MoleculeChangeBondAngle) \
[004d5c]36 (MoleculeRotateAroundSelfByAngle) \
37 (MoleculeSaveSelectedMolecules) \
38 (MoleculeSaveBonds) \
[3a51bd]39 (MoleculeStretchBond) \
[004d5c]40 (MoleculeLinearInterpolationofTrajectories) \
41 (MoleculeLoad) \
42 (MoleculeBondFile) \
43 (TesselationNonConvexEnvelope) \
44 (TesselationConvexEnvelope) \
45 (CommandElementDb) \
46 (CommandBondLengthTable) \
47 (CommandFastParsing) \
[bad589]48 (CommandHelp) \
49 (CommandHelpRedistribute) \
[12d946]50 (CommandLoadSession) \
[bad589]51 (CommandSetRandomNumbersEngine) \
52 (CommandSetRandomNumbersDistribution) \
53 (CommandStoreSession) \
54 (CommandVerbose) \
55 (CommandVersion) \
56 (CommandWarranty) \
[004d5c]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) \
[f63e41]79 (BondAdd) \
80 (BondRemove) \
[004d5c]81 (WorldCenterInBox) \
82 (WorldRepeatBox) \
83 (WorldChangeBox) \
84 (WorldCenterOnEdge) \
85 (WorldSetWorldTime) \
86 (WorldSetBoundaryConditions) \
[5bcbc7]87 (WorldOutput) \
[072f0e]88 (WorldOutputAs) \
[004d5c]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) \
[ebc499]104 (SelectionInvertMolecules) \
[004d5c]105 (SelectionMoleculeByFormula) \
106 (SelectionNotMoleculeByFormula) \
107 (SelectionNotMoleculeByName) \
108 (SelectionNotAtomById) \
109 (SelectionNotAtomByOrder) \
110 (SelectionAllAtoms) \
111 (SelectionClearAllAtoms) \
[ebc499]112 (SelectionInvertAtoms) \
[004d5c]113 (SelectionNotAllAtoms) \
114 (SelectionNotAtomByElement) \
[eff536]115 (SelectionAllAtomsInsideVolume) \
[004d5c]116 (SelectionAllAtomsOfMolecule) \
[eff536]117 (SelectionNotAllAtomsInsideVolume) \
[004d5c]118 (SelectionAtomByElement) \
119 (SelectionNotAllAtomsOfMolecule) \
120 (SelectionAtomById) \
121 (SelectionAtomByOrder) \
[70bce9]122 (SelectionAllShapes) \
[663606]123 (SelectionShapeByName) \
[a27dcb]124 (SelectionNotAllShapes) \
[2c004d]125 (SelectionNotShapeByName) \
[a3427f]126 (FragmentationAnalyseFragmentationResults) \
[48d20d]127 (FragmentationFragmentation) \
[5589e7e]128 (FragmentationStoreSaturatedFragment) \
[f5724f]129 (PotentialFitParticleCharges) \
130 (PotentialParseHomologies) \
131 (PotentialSaveHomologies) \
[004d5c]132 (FillRegularGrid) \
[09eaac]133 (FillSurface) \
[d475a6]134 (ShapeCombineShapes) \
[f20da5]135 (ShapeCreateShape) \
[0b5057]136 (ShapeRemoveShape) \
[a2bbb1]137 (ShapeRotateShape) \
[29ea65]138 (ShapeStretchShape) \
[0b5057]139 (ShapeTranslateShape)
[004d5c]140
141// we need to append the automation action in case we have the JobMarket
142#ifdef HAVE_JOBMARKET
[48d20d]143#define GLOBALLISTOFACTIONS_JOBMARKET \
[004d5c]144 BOOST_PP_SEQ_PUSH_BACK( \
[bae7bc]145 BOOST_PP_SEQ_PUSH_BACK( \
[39986b]146 BOOST_PP_SEQ_PUSH_BACK( \
147 GLOBALLISTOFACTIONS_initial, \
148 FragmentationFragmentationAutomation \
149 ), \
150 FragmentationMolecularDynamics \
[bae7bc]151 ), \
152 FragmentationParseFragmentJobs \
153 )
[004d5c]154#else
[48d20d]155#define GLOBALLISTOFACTIONS_JOBMARKET \
[004d5c]156 GLOBALLISTOFACTIONS_initial
157#endif /* HAVE_JOBMARKET */
[83e90c]158
[48d20d]159#ifdef HAVE_LEVMAR
160#define GLOBALLISTOFACTIONS_LEVMAR \
161 BOOST_PP_SEQ_PUSH_BACK( \
162 GLOBALLISTOFACTIONS_JOBMARKET, \
[f5724f]163 PotentialFitPotential \
[48d20d]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
[83e90c]173#endif /* GLOBALLISTOFACTIONS_HPP_ */
174
Note: See TracBrowser for help on using the repository browser.