[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 |
|
---|