source: src/Actions/GlobalListOfActions.hpp@ 2a28cd

Add_FitFragmentPartialChargesAction Fix_ChargeSampling_PBC Fix_FitPartialCharges Fix_FitPotential_needs_atomicnumbers
Last change on this file since 2a28cd was 4d1aef, checked in by Frederik Heber <heber@…>, 9 years ago

Added single action to step backward and forward through time.

  • Property mode set to 100644
File size: 5.4 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
[442495]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
[004d5c]22#define GLOBALLISTOFACTIONS_initial \
23 (Redo) \
[f4b626a]24 (AnalysisAverageMoleculeForce) \
[442495]25 (AnalysisDipoleAngularCorrelation) \
26 (AnalysisDipoleCorrelation) \
27 (AnalysisMolecularVolume) \
28 (AnalysisPairCorrelation) \
29 (AnalysisPointCorrelation) \
30 (AnalysisPrincipalAxisSystem) \
31 (AnalysisSurfaceCorrelation) \
32 (AtomAdd) \
33 (AtomChangeElement) \
[bbf6dc]34 (AtomMirror) \
[442495]35 (AtomRemove) \
36 (AtomRotateAroundOriginByAngle) \
[2fcef3]37 (AtomSaturate) \
[442495]38 (AtomSaveSelectedAtoms) \
39 (AtomTranslate) \
[c7fe90]40 (AtomTranslateToOrigin) \
[442495]41 (BondAdd) \
42 (BondRemove) \
[f3db60]43 (CommandDryRun) \
[442495]44 (CommandElementDb) \
45 (CommandBondLengthTable) \
46 (CommandFastParsing) \
47 (CommandHelp) \
48 (CommandHelpRedistribute) \
[f3db60]49 (CommandNoDryRun) \
[442495]50 (CommandSetRandomNumbersEngine) \
51 (CommandSetRandomNumbersDistribution) \
52 (CommandStoreSession) \
53 (CommandVerbose) \
54 (CommandVersion) \
55 (CommandWarranty) \
56 (FillRegularGrid) \
57 (FillSurface) \
[aa55d0]58 (FillSuspendInMolecule) \
[6801f4]59 (FillVolume) \
[442495]60 (FragmentationAnalyseFragmentationResults) \
61 (FragmentationClearFragmentationResults) \
62 (FragmentationFragmentation) \
63 (FragmentationFragmentationAutomation) \
64 (FragmentationMolecularDynamics) \
65 (FragmentationParseFragmentJobs) \
[73a5f7]66 (FragmentationParseFragmentResults) \
67 (FragmentationSaveFragmentResults) \
[442495]68 (FragmentationStoreSaturatedFragment) \
[e5f61ba]69 (FragmentationStructuralOptimization) \
[22b786]70 (GraphUpdateMolecules) \
[343c5a]71 (GraphCorrectBondDegree) \
[004d5c]72 (GraphCreateAdjacency) \
73 (GraphDepthFirstSearch) \
[560cbf]74 (GraphDestroyAdjacency) \
[22b786]75 (GraphSubgraphDissection) \
[442495]76 (MoleculeBondFile) \
77 (MoleculeChangeName) \
78 (MoleculeChangeBondAngle) \
[004d5c]79 (MoleculeCopy) \
[1a48d2]80 (MoleculeForceAnnealing) \
[442495]81 (MoleculeLinearInterpolationofTrajectories) \
82 (MoleculeLoad) \
[867473]83 (MoleculeRemove) \
[004d5c]84 (MoleculeRotateAroundSelfByAngle) \
[442495]85 (MoleculeRotateToPrincipalAxisSystem) \
86 (MoleculeSaveAdjacency) \
[004d5c]87 (MoleculeSaveBonds) \
[442495]88 (MoleculeSaveSelectedMolecules) \
89 (MoleculeSaveTemperature) \
[3a51bd]90 (MoleculeStretchBond) \
[066442]91 (MoleculeTranslate) \
[442495]92 (MoleculeVerletIntegration) \
[50d49d]93 (PotentialFitPartialCharges) \
[78202b]94 (PotentialParseAtomFragments) \
[442495]95 (PotentialParseHomologies) \
[2082637]96 (PotentialParseParticleParameters) \
[f1eabd]97 (PotentialParsePotentials) \
[78202b]98 (PotentialSaveAtomFragments) \
[442495]99 (PotentialSaveHomologies) \
[2082637]100 (PotentialSaveParticleParameters) \
[0ea063]101 (PotentialSavePotentials) \
[004d5c]102 (ParserSaveSelectedAtomsAsExtTypes) \
103 (ParserSetParserParameters) \
104 (ParserSetOutputFormats) \
[442495]105 (ParserSetTremoloAtomdata) \
[004d5c]106 (Undo) \
[442495]107 (SelectionAllAtoms) \
108 (SelectionAllAtomsInsideVolume) \
109 (SelectionAllAtomsOfMolecule) \
[004d5c]110 (SelectionAllMolecules) \
[442495]111 (SelectionAllShapes) \
112 (SelectionAtomByElement) \
113 (SelectionAtomById) \
114 (SelectionAtomByOrder) \
115 (SelectionClearAllAtoms) \
[004d5c]116 (SelectionClearAllMolecules) \
[442495]117 (SelectionInvertAtoms) \
[ebc499]118 (SelectionInvertMolecules) \
[442495]119 (SelectionMoleculeOfAtom) \
[004d5c]120 (SelectionMoleculeByFormula) \
[442495]121 (SelectionMoleculeById) \
122 (SelectionMoleculeByName) \
123 (SelectionMoleculeByOrder) \
[004d5c]124 (SelectionNotAllAtoms) \
[eff536]125 (SelectionNotAllAtomsInsideVolume) \
[004d5c]126 (SelectionNotAllAtomsOfMolecule) \
[442495]127 (SelectionNotAllMolecules) \
[a27dcb]128 (SelectionNotAllShapes) \
[442495]129 (SelectionNotAtomById) \
130 (SelectionNotAtomByElement) \
131 (SelectionNotAtomByOrder) \
132 (SelectionNotMoleculeOfAtom) \
133 (SelectionNotMoleculeByFormula) \
134 (SelectionNotMoleculeById) \
135 (SelectionNotMoleculeByName) \
136 (SelectionNotMoleculeByOrder) \
[2c004d]137 (SelectionNotShapeByName) \
[3213f2]138 (SelectionPopAtoms) \
139 (SelectionPushAtoms) \
[a84e8d]140 (SelectionPopMolecules) \
141 (SelectionPushMolecules) \
[442495]142 (SelectionShapeByName) \
[d475a6]143 (ShapeCombineShapes) \
[f20da5]144 (ShapeCreateShape) \
[0b5057]145 (ShapeRemoveShape) \
[a2bbb1]146 (ShapeRotateShape) \
[29ea65]147 (ShapeStretchShape) \
[442495]148 (ShapeTranslateShape) \
149 (TesselationConvexEnvelope) \
150 (TesselationNonConvexEnvelope) \
151 (WorldAddEmptyBoundary) \
152 (WorldBoundInBox) \
153 (WorldCenterInBox) \
154 (WorldCenterOnEdge) \
155 (WorldChangeBox) \
156 (WorldInput) \
157 (WorldOutput) \
158 (WorldOutputAs) \
159 (WorldRepeatBox) \
160 (WorldScaleBox) \
161 (WorldSetBoundaryConditions) \
162 (WorldSetDefaultName) \
[4d1aef]163 (WorldSetWorldTime) \
164 (WorldStepWorldTime)
[004d5c]165
[786d28]166// extend list of actions in case levmar is available
[48d20d]167#ifdef HAVE_LEVMAR
168#define GLOBALLISTOFACTIONS_LEVMAR \
169 BOOST_PP_SEQ_PUSH_BACK( \
[98d166]170 BOOST_PP_SEQ_PUSH_BACK( \
171 GLOBALLISTOFACTIONS_initial, \
172 PotentialFitPotential \
173 ), \
174 PotentialFitCompoundPotential \
[48d20d]175 )
176#else
177#define GLOBALLISTOFACTIONS_LEVMAR \
[786d28]178 GLOBALLISTOFACTIONS_initial
[48d20d]179#endif /* HAVE_LEVMAR */
180
181// define final list
[0d4168]182#ifdef HAVE_PYTHON
183#define GLOBALLISTOFACTIONS_PYTHON \
184 BOOST_PP_SEQ_PUSH_BACK( \
185 GLOBALLISTOFACTIONS_LEVMAR, \
186 CommandLoadSession \
187 )
188#else
189#define GLOBALLISTOFACTIONS_PYTHON \
190 GLOBALLISTOFACTIONS_LEVMAR
191#endif
192
193#define GLOBALLISTOFACTIONS GLOBALLISTOFACTIONS_PYTHON
194
195// define python list
196// skips CommandLoadSession as this causes dangerous infinite loops
197#define GLOBALLISTOFPYTHONACTIONS \
198 GLOBALLISTOFACTIONS_LEVMAR
[48d20d]199
[83e90c]200#endif /* GLOBALLISTOFACTIONS_HPP_ */
201
Note: See TracBrowser for help on using the repository browser.