[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 | (CommandVerbose) \
|
---|
| 47 | (CommandWarranty) \
|
---|
| 48 | (CommandVersion) \
|
---|
| 49 | (CommandHelp) \
|
---|
[94d5ac6] | 50 | (CommandHelpRedistribute) \
|
---|
[004d5c] | 51 | (CommandBondLengthTable) \
|
---|
| 52 | (CommandFastParsing) \
|
---|
| 53 | (ParserSetTremoloAtomdata) \
|
---|
| 54 | (ParserParseTremoloPotentials) \
|
---|
| 55 | (ParserSaveSelectedAtomsAsExtTypes) \
|
---|
| 56 | (ParserSetParserParameters) \
|
---|
| 57 | (ParserSetOutputFormats) \
|
---|
| 58 | (AnalysisCalculateBoundingBox) \
|
---|
| 59 | (AnalysisCalculateCellVolume) \
|
---|
| 60 | (AnalysisCalculateMolarMass) \
|
---|
| 61 | (AnalysisDipoleAngularCorrelation) \
|
---|
| 62 | (AnalysisDipoleCorrelation) \
|
---|
| 63 | (AnalysisPairCorrelation) \
|
---|
| 64 | (AnalysisPointCorrelation) \
|
---|
| 65 | (AnalysisSurfaceCorrelation) \
|
---|
| 66 | (AnalysisMolecularVolume) \
|
---|
| 67 | (AnalysisPrincipalAxisSystem) \
|
---|
| 68 | (CommandSetRandomNumbersEngine) \
|
---|
| 69 | (CommandSetRandomNumbersDistribution) \
|
---|
| 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) \
|
---|
[48d20d] | 125 | (FragmentationFragmentation) \
|
---|
[5589e7e] | 126 | (FragmentationStoreSaturatedFragment) \
|
---|
[004d5c] | 127 | (FillRegularGrid) \
|
---|
[09eaac] | 128 | (FillSurface) \
|
---|
[d475a6] | 129 | (ShapeCombineShapes) \
|
---|
[f20da5] | 130 | (ShapeCreateShape) \
|
---|
[0b5057] | 131 | (ShapeRemoveShape) \
|
---|
[a2bbb1] | 132 | (ShapeRotateShape) \
|
---|
[29ea65] | 133 | (ShapeStretchShape) \
|
---|
[0b5057] | 134 | (ShapeTranslateShape)
|
---|
[004d5c] | 135 |
|
---|
| 136 | // we need to append the automation action in case we have the JobMarket
|
---|
| 137 | #ifdef HAVE_JOBMARKET
|
---|
[48d20d] | 138 | #define GLOBALLISTOFACTIONS_JOBMARKET \
|
---|
[004d5c] | 139 | BOOST_PP_SEQ_PUSH_BACK( \
|
---|
[bae7bc] | 140 | BOOST_PP_SEQ_PUSH_BACK( \
|
---|
| 141 | GLOBALLISTOFACTIONS_initial, \
|
---|
| 142 | FragmentationFragmentationAutomation \
|
---|
| 143 | ), \
|
---|
| 144 | FragmentationParseFragmentJobs \
|
---|
| 145 | )
|
---|
[004d5c] | 146 | #else
|
---|
[48d20d] | 147 | #define GLOBALLISTOFACTIONS_JOBMARKET \
|
---|
[004d5c] | 148 | GLOBALLISTOFACTIONS_initial
|
---|
| 149 | #endif /* HAVE_JOBMARKET */
|
---|
[83e90c] | 150 |
|
---|
[48d20d] | 151 | #ifdef HAVE_LEVMAR
|
---|
| 152 | #define GLOBALLISTOFACTIONS_LEVMAR \
|
---|
| 153 | BOOST_PP_SEQ_PUSH_BACK( \
|
---|
| 154 | GLOBALLISTOFACTIONS_JOBMARKET, \
|
---|
| 155 | FragmentationFitPotential \
|
---|
| 156 | )
|
---|
| 157 | #else
|
---|
| 158 | #define GLOBALLISTOFACTIONS_LEVMAR \
|
---|
| 159 | GLOBALLISTOFACTIONS_JOBMARKET
|
---|
| 160 | #endif /* HAVE_LEVMAR */
|
---|
| 161 |
|
---|
| 162 | // define final list
|
---|
| 163 | #define GLOBALLISTOFACTIONS GLOBALLISTOFACTIONS_LEVMAR
|
---|
| 164 |
|
---|
[83e90c] | 165 | #endif /* GLOBALLISTOFACTIONS_HPP_ */
|
---|
| 166 |
|
---|