source: src/Actions/GlobalListOfActions.hpp@ 51cdfd

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 51cdfd was 343c5a, checked in by Frederik Heber <heber@…>, 11 years ago

Added CorrectBondDegreeAction and fixed Calculation tests.

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