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