| 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 | 
 | 
|---|
| 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 |   (MoleculeChangeBondAngle) \
 | 
|---|
| 34 |   (MoleculeRotateAroundSelfByAngle) \
 | 
|---|
| 35 |   (MoleculeSaveSelectedMolecules) \
 | 
|---|
| 36 |   (MoleculeSaveBonds) \
 | 
|---|
| 37 |   (MoleculeStretchBond) \
 | 
|---|
| 38 |   (MoleculeLinearInterpolationofTrajectories) \
 | 
|---|
| 39 |   (MoleculeLoad) \
 | 
|---|
| 40 |   (MoleculeBondFile) \
 | 
|---|
| 41 |   (TesselationNonConvexEnvelope) \
 | 
|---|
| 42 |   (TesselationConvexEnvelope) \
 | 
|---|
| 43 |   (CommandElementDb) \
 | 
|---|
| 44 |   (CommandVerbose) \
 | 
|---|
| 45 |   (CommandWarranty) \
 | 
|---|
| 46 |   (CommandVersion) \
 | 
|---|
| 47 |   (CommandHelp) \
 | 
|---|
| 48 |   (CommandHelpRedistribute) \
 | 
|---|
| 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) \
 | 
|---|
| 75 |   (BondAdd) \
 | 
|---|
| 76 |   (BondRemove) \
 | 
|---|
| 77 |   (WorldCenterInBox) \
 | 
|---|
| 78 |   (WorldRepeatBox) \
 | 
|---|
| 79 |   (WorldChangeBox) \
 | 
|---|
| 80 |   (WorldCenterOnEdge) \
 | 
|---|
| 81 |   (WorldSetWorldTime) \
 | 
|---|
| 82 |   (WorldSetBoundaryConditions) \
 | 
|---|
| 83 |   (WorldOutput) \
 | 
|---|
| 84 |   (WorldOutputAs) \
 | 
|---|
| 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) \
 | 
|---|
| 100 |   (SelectionInvertMolecules) \
 | 
|---|
| 101 |   (SelectionMoleculeByFormula) \
 | 
|---|
| 102 |   (SelectionNotMoleculeByFormula) \
 | 
|---|
| 103 |   (SelectionNotMoleculeByName) \
 | 
|---|
| 104 |   (SelectionNotAtomById) \
 | 
|---|
| 105 |   (SelectionNotAtomByOrder) \
 | 
|---|
| 106 |   (SelectionAllAtoms) \
 | 
|---|
| 107 |   (SelectionClearAllAtoms) \
 | 
|---|
| 108 |   (SelectionInvertAtoms) \
 | 
|---|
| 109 |   (SelectionNotAllAtoms) \
 | 
|---|
| 110 |   (SelectionNotAtomByElement) \
 | 
|---|
| 111 |   (SelectionAllAtomsInsideVolume) \
 | 
|---|
| 112 |   (SelectionAllAtomsOfMolecule) \
 | 
|---|
| 113 |   (SelectionNotAllAtomsInsideVolume) \
 | 
|---|
| 114 |   (SelectionAtomByElement) \
 | 
|---|
| 115 |   (SelectionNotAllAtomsOfMolecule) \
 | 
|---|
| 116 |   (SelectionAtomById) \
 | 
|---|
| 117 |   (SelectionAtomByOrder) \
 | 
|---|
| 118 |   (SelectionAllShapes) \
 | 
|---|
| 119 |   (SelectionShapeByName) \
 | 
|---|
| 120 |   (SelectionNotAllShapes) \
 | 
|---|
| 121 |   (SelectionNotShapeByName) \
 | 
|---|
| 122 |   (FragmentationFragmentation) \
 | 
|---|
| 123 |   (FillRegularGrid) \
 | 
|---|
| 124 |   (FillSurface) \
 | 
|---|
| 125 |   (ShapeCombineShapes) \
 | 
|---|
| 126 |   (ShapeCreateShape) \
 | 
|---|
| 127 |   (ShapeRemoveShape)
 | 
|---|
| 128 | 
 | 
|---|
| 129 | // we need to append the automation action in case we have the JobMarket
 | 
|---|
| 130 | #ifdef HAVE_JOBMARKET
 | 
|---|
| 131 | #define GLOBALLISTOFACTIONS \
 | 
|---|
| 132 |     BOOST_PP_SEQ_PUSH_BACK( \
 | 
|---|
| 133 |         GLOBALLISTOFACTIONS_initial, \
 | 
|---|
| 134 |         FragmentationFragmentationAutomation \
 | 
|---|
| 135 |       )
 | 
|---|
| 136 | #else
 | 
|---|
| 137 | #define GLOBALLISTOFACTIONS \
 | 
|---|
| 138 |     GLOBALLISTOFACTIONS_initial
 | 
|---|
| 139 | #endif /* HAVE_JOBMARKET */
 | 
|---|
| 140 | 
 | 
|---|
| 141 | #endif /* GLOBALLISTOFACTIONS_HPP_ */
 | 
|---|
| 142 | 
 | 
|---|