source: src/Actions/GlobalListOfActions.hpp@ 0907ad

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 0907ad was 2fcef3, checked in by Frederik Heber <heber@…>, 10 years ago

Added SaturateAction that uses SphericalPointDistribution.

  • added saturate-atoms to userguide.
  • added regression test fpr saturate-atoms.
  • Property mode set to 100644
File size: 5.1 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 (CommandElementDb) \
44 (CommandBondLengthTable) \
45 (CommandFastParsing) \
46 (CommandHelp) \
47 (CommandHelpRedistribute) \
48 (CommandSetRandomNumbersEngine) \
49 (CommandSetRandomNumbersDistribution) \
50 (CommandStoreSession) \
51 (CommandVerbose) \
52 (CommandVersion) \
53 (CommandWarranty) \
54 (FillRegularGrid) \
55 (FillSurface) \
56 (FillSuspendInMolecule) \
57 (FillVolume) \
58 (FragmentationAnalyseFragmentationResults) \
59 (FragmentationClearFragmentationResults) \
60 (FragmentationFragmentation) \
61 (FragmentationFragmentationAutomation) \
62 (FragmentationMolecularDynamics) \
63 (FragmentationParseFragmentJobs) \
64 (FragmentationStoreSaturatedFragment) \
65 (FragmentationStructuralOptimization) \
66 (GraphUpdateMolecules) \
67 (GraphCorrectBondDegree) \
68 (GraphCreateAdjacency) \
69 (GraphDepthFirstSearch) \
70 (GraphDestroyAdjacency) \
71 (GraphSubgraphDissection) \
72 (MoleculeBondFile) \
73 (MoleculeChangeName) \
74 (MoleculeChangeBondAngle) \
75 (MoleculeCopy) \
76 (MoleculeForceAnnealing) \
77 (MoleculeLinearInterpolationofTrajectories) \
78 (MoleculeLoad) \
79 (MoleculeRemove) \
80 (MoleculeRotateAroundSelfByAngle) \
81 (MoleculeRotateToPrincipalAxisSystem) \
82 (MoleculeSaveAdjacency) \
83 (MoleculeSaveBonds) \
84 (MoleculeSaveSelectedMolecules) \
85 (MoleculeSaveTemperature) \
86 (MoleculeStretchBond) \
87 (MoleculeTranslate) \
88 (MoleculeVerletIntegration) \
89 (PotentialFitParticleCharges) \
90 (PotentialParseHomologies) \
91 (PotentialParsePotentials) \
92 (PotentialSaveHomologies) \
93 (PotentialSavePotentials) \
94 (ParserParseTremoloPotentials) \
95 (ParserSaveSelectedAtomsAsExtTypes) \
96 (ParserSetParserParameters) \
97 (ParserSetOutputFormats) \
98 (ParserSetTremoloAtomdata) \
99 (Undo) \
100 (SelectionAllAtoms) \
101 (SelectionAllAtomsInsideVolume) \
102 (SelectionAllAtomsOfMolecule) \
103 (SelectionAllMolecules) \
104 (SelectionAllShapes) \
105 (SelectionAtomByElement) \
106 (SelectionAtomById) \
107 (SelectionAtomByOrder) \
108 (SelectionClearAllAtoms) \
109 (SelectionClearAllMolecules) \
110 (SelectionInvertAtoms) \
111 (SelectionInvertMolecules) \
112 (SelectionMoleculeOfAtom) \
113 (SelectionMoleculeByFormula) \
114 (SelectionMoleculeById) \
115 (SelectionMoleculeByName) \
116 (SelectionMoleculeByOrder) \
117 (SelectionNotAllAtoms) \
118 (SelectionNotAllAtomsInsideVolume) \
119 (SelectionNotAllAtomsOfMolecule) \
120 (SelectionNotAllMolecules) \
121 (SelectionNotAllShapes) \
122 (SelectionNotAtomById) \
123 (SelectionNotAtomByElement) \
124 (SelectionNotAtomByOrder) \
125 (SelectionNotMoleculeOfAtom) \
126 (SelectionNotMoleculeByFormula) \
127 (SelectionNotMoleculeById) \
128 (SelectionNotMoleculeByName) \
129 (SelectionNotMoleculeByOrder) \
130 (SelectionNotShapeByName) \
131 (SelectionPopAtoms) \
132 (SelectionPushAtoms) \
133 (SelectionPopMolecules) \
134 (SelectionPushMolecules) \
135 (SelectionShapeByName) \
136 (ShapeCombineShapes) \
137 (ShapeCreateShape) \
138 (ShapeRemoveShape) \
139 (ShapeRotateShape) \
140 (ShapeStretchShape) \
141 (ShapeTranslateShape) \
142 (TesselationConvexEnvelope) \
143 (TesselationNonConvexEnvelope) \
144 (WorldAddEmptyBoundary) \
145 (WorldBoundInBox) \
146 (WorldCenterInBox) \
147 (WorldCenterOnEdge) \
148 (WorldChangeBox) \
149 (WorldInput) \
150 (WorldOutput) \
151 (WorldOutputAs) \
152 (WorldRepeatBox) \
153 (WorldScaleBox) \
154 (WorldSetBoundaryConditions) \
155 (WorldSetDefaultName) \
156 (WorldSetWorldTime)
157
158// extend list of actions in case levmar is available
159#ifdef HAVE_LEVMAR
160#define GLOBALLISTOFACTIONS_LEVMAR \
161 BOOST_PP_SEQ_PUSH_BACK( \
162 BOOST_PP_SEQ_PUSH_BACK( \
163 GLOBALLISTOFACTIONS_initial, \
164 PotentialFitPotential \
165 ), \
166 PotentialFitCompoundPotential \
167 )
168#else
169#define GLOBALLISTOFACTIONS_LEVMAR \
170 GLOBALLISTOFACTIONS_initial
171#endif /* HAVE_LEVMAR */
172
173// define final list
174#ifdef HAVE_PYTHON
175#define GLOBALLISTOFACTIONS_PYTHON \
176 BOOST_PP_SEQ_PUSH_BACK( \
177 GLOBALLISTOFACTIONS_LEVMAR, \
178 CommandLoadSession \
179 )
180#else
181#define GLOBALLISTOFACTIONS_PYTHON \
182 GLOBALLISTOFACTIONS_LEVMAR
183#endif
184
185#define GLOBALLISTOFACTIONS GLOBALLISTOFACTIONS_PYTHON
186
187// define python list
188// skips CommandLoadSession as this causes dangerous infinite loops
189#define GLOBALLISTOFPYTHONACTIONS \
190 GLOBALLISTOFACTIONS_LEVMAR
191
192#endif /* GLOBALLISTOFACTIONS_HPP_ */
193
Note: See TracBrowser for help on using the repository browser.