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