| [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) \ | 
|---|
|  | 21 | (GraphSubgraphDissection) \ | 
|---|
|  | 22 | (GraphCreateAdjacency) \ | 
|---|
|  | 23 | (GraphDepthFirstSearch) \ | 
|---|
|  | 24 | (MoleculeSaveTemperature) \ | 
|---|
|  | 25 | (MoleculeCopy) \ | 
|---|
|  | 26 | (MoleculeSuspendInWater) \ | 
|---|
|  | 27 | (MoleculeFillWithMolecule) \ | 
|---|
|  | 28 | (MoleculeRotateToPrincipalAxisSystem) \ | 
|---|
|  | 29 | (MoleculeSaveAdjacency) \ | 
|---|
|  | 30 | (MoleculeFillVoidWithMolecule) \ | 
|---|
|  | 31 | (MoleculeVerletIntegration) \ | 
|---|
|  | 32 | (MoleculeChangeName) \ | 
|---|
| [8b886f] | 33 | (MoleculeChangeBondAngle) \ | 
|---|
| [004d5c] | 34 | (MoleculeRotateAroundSelfByAngle) \ | 
|---|
|  | 35 | (MoleculeSaveSelectedMolecules) \ | 
|---|
|  | 36 | (MoleculeSaveBonds) \ | 
|---|
| [3a51bd] | 37 | (MoleculeStretchBond) \ | 
|---|
| [004d5c] | 38 | (MoleculeLinearInterpolationofTrajectories) \ | 
|---|
|  | 39 | (MoleculeLoad) \ | 
|---|
|  | 40 | (MoleculeBondFile) \ | 
|---|
|  | 41 | (TesselationNonConvexEnvelope) \ | 
|---|
|  | 42 | (TesselationConvexEnvelope) \ | 
|---|
|  | 43 | (CommandElementDb) \ | 
|---|
|  | 44 | (CommandVerbose) \ | 
|---|
|  | 45 | (CommandWarranty) \ | 
|---|
|  | 46 | (CommandVersion) \ | 
|---|
|  | 47 | (CommandHelp) \ | 
|---|
| [94d5ac6] | 48 | (CommandHelpRedistribute) \ | 
|---|
| [004d5c] | 49 | (CommandBondLengthTable) \ | 
|---|
|  | 50 | (CommandFastParsing) \ | 
|---|
|  | 51 | (ParserSetTremoloAtomdata) \ | 
|---|
|  | 52 | (ParserParseTremoloPotentials) \ | 
|---|
|  | 53 | (ParserSaveSelectedAtomsAsExtTypes) \ | 
|---|
|  | 54 | (ParserSetParserParameters) \ | 
|---|
|  | 55 | (ParserSetOutputFormats) \ | 
|---|
|  | 56 | (AnalysisCalculateBoundingBox) \ | 
|---|
|  | 57 | (AnalysisCalculateCellVolume) \ | 
|---|
|  | 58 | (AnalysisCalculateMolarMass) \ | 
|---|
|  | 59 | (AnalysisDipoleAngularCorrelation) \ | 
|---|
|  | 60 | (AnalysisDipoleCorrelation) \ | 
|---|
|  | 61 | (AnalysisPairCorrelation) \ | 
|---|
|  | 62 | (AnalysisPointCorrelation) \ | 
|---|
|  | 63 | (AnalysisSurfaceCorrelation) \ | 
|---|
|  | 64 | (AnalysisMolecularVolume) \ | 
|---|
|  | 65 | (AnalysisPrincipalAxisSystem) \ | 
|---|
|  | 66 | (CommandSetRandomNumbersEngine) \ | 
|---|
|  | 67 | (CommandSetRandomNumbersDistribution) \ | 
|---|
|  | 68 | (Undo) \ | 
|---|
|  | 69 | (AtomSaveSelectedAtoms) \ | 
|---|
|  | 70 | (AtomRotateAroundOriginByAngle) \ | 
|---|
|  | 71 | (AtomChangeElement) \ | 
|---|
|  | 72 | (AtomRemove) \ | 
|---|
|  | 73 | (AtomTranslate) \ | 
|---|
|  | 74 | (AtomAdd) \ | 
|---|
| [f63e41] | 75 | (BondAdd) \ | 
|---|
|  | 76 | (BondRemove) \ | 
|---|
| [004d5c] | 77 | (WorldCenterInBox) \ | 
|---|
|  | 78 | (WorldRepeatBox) \ | 
|---|
|  | 79 | (WorldChangeBox) \ | 
|---|
|  | 80 | (WorldCenterOnEdge) \ | 
|---|
|  | 81 | (WorldSetWorldTime) \ | 
|---|
|  | 82 | (WorldSetBoundaryConditions) \ | 
|---|
| [5bcbc7] | 83 | (WorldOutput) \ | 
|---|
| [072f0e] | 84 | (WorldOutputAs) \ | 
|---|
| [004d5c] | 85 | (WorldSetDefaultName) \ | 
|---|
|  | 86 | (WorldScaleBox) \ | 
|---|
|  | 87 | (WorldAddEmptyBoundary) \ | 
|---|
|  | 88 | (WorldBoundInBox) \ | 
|---|
|  | 89 | (WorldInput) \ | 
|---|
|  | 90 | (SelectionNotMoleculeOfAtom) \ | 
|---|
|  | 91 | (SelectionNotAllMolecules) \ | 
|---|
|  | 92 | (SelectionNotMoleculeById) \ | 
|---|
|  | 93 | (SelectionMoleculeByOrder) \ | 
|---|
|  | 94 | (SelectionMoleculeOfAtom) \ | 
|---|
|  | 95 | (SelectionNotMoleculeByOrder) \ | 
|---|
|  | 96 | (SelectionMoleculeByName) \ | 
|---|
|  | 97 | (SelectionMoleculeById) \ | 
|---|
|  | 98 | (SelectionAllMolecules) \ | 
|---|
|  | 99 | (SelectionClearAllMolecules) \ | 
|---|
| [ebc499] | 100 | (SelectionInvertMolecules) \ | 
|---|
| [004d5c] | 101 | (SelectionMoleculeByFormula) \ | 
|---|
|  | 102 | (SelectionNotMoleculeByFormula) \ | 
|---|
|  | 103 | (SelectionNotMoleculeByName) \ | 
|---|
|  | 104 | (SelectionNotAtomById) \ | 
|---|
|  | 105 | (SelectionNotAtomByOrder) \ | 
|---|
|  | 106 | (SelectionAllAtoms) \ | 
|---|
|  | 107 | (SelectionClearAllAtoms) \ | 
|---|
| [ebc499] | 108 | (SelectionInvertAtoms) \ | 
|---|
| [004d5c] | 109 | (SelectionNotAllAtoms) \ | 
|---|
|  | 110 | (SelectionNotAtomByElement) \ | 
|---|
| [eff536] | 111 | (SelectionAllAtomsInsideVolume) \ | 
|---|
| [004d5c] | 112 | (SelectionAllAtomsOfMolecule) \ | 
|---|
| [eff536] | 113 | (SelectionNotAllAtomsInsideVolume) \ | 
|---|
| [004d5c] | 114 | (SelectionAtomByElement) \ | 
|---|
|  | 115 | (SelectionNotAllAtomsOfMolecule) \ | 
|---|
|  | 116 | (SelectionAtomById) \ | 
|---|
|  | 117 | (SelectionAtomByOrder) \ | 
|---|
| [70bce9] | 118 | (SelectionAllShapes) \ | 
|---|
| [663606] | 119 | (SelectionShapeByName) \ | 
|---|
| [a27dcb] | 120 | (SelectionNotAllShapes) \ | 
|---|
| [2c004d] | 121 | (SelectionNotShapeByName) \ | 
|---|
| [004d5c] | 122 | (FragmentationFragmentation) \ | 
|---|
|  | 123 | (FillRegularGrid) \ | 
|---|
| [09eaac] | 124 | (FillSurface) \ | 
|---|
| [d475a6] | 125 | (ShapeCombineShapes) \ | 
|---|
| [f20da5] | 126 | (ShapeCreateShape) \ | 
|---|
| [0b5057] | 127 | (ShapeRemoveShape) \ | 
|---|
| [a2bbb1] | 128 | (ShapeRotateShape) \ | 
|---|
| [29ea65] | 129 | (ShapeStretchShape) \ | 
|---|
| [0b5057] | 130 | (ShapeTranslateShape) | 
|---|
| [004d5c] | 131 |  | 
|---|
|  | 132 | // we need to append the automation action in case we have the JobMarket | 
|---|
|  | 133 | #ifdef HAVE_JOBMARKET | 
|---|
|  | 134 | #define GLOBALLISTOFACTIONS \ | 
|---|
|  | 135 | BOOST_PP_SEQ_PUSH_BACK( \ | 
|---|
|  | 136 | GLOBALLISTOFACTIONS_initial, \ | 
|---|
|  | 137 | FragmentationFragmentationAutomation \ | 
|---|
|  | 138 | ) | 
|---|
|  | 139 | #else | 
|---|
|  | 140 | #define GLOBALLISTOFACTIONS \ | 
|---|
|  | 141 | GLOBALLISTOFACTIONS_initial | 
|---|
|  | 142 | #endif /* HAVE_JOBMARKET */ | 
|---|
| [83e90c] | 143 |  | 
|---|
|  | 144 | #endif /* GLOBALLISTOFACTIONS_HPP_ */ | 
|---|
|  | 145 |  | 
|---|