| 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 | (GraphUpdateMolecules) \ | 
|---|
| 22 | (GraphCreateAdjacency) \ | 
|---|
| 23 | (GraphDepthFirstSearch) \ | 
|---|
| 24 | (GraphDestroyAdjacency) \ | 
|---|
| 25 | (GraphSubgraphDissection) \ | 
|---|
| 26 | (MoleculeSaveTemperature) \ | 
|---|
| 27 | (MoleculeCopy) \ | 
|---|
| 28 | (MoleculeSuspendInWater) \ | 
|---|
| 29 | (MoleculeFillWithMolecule) \ | 
|---|
| 30 | (MoleculeRotateToPrincipalAxisSystem) \ | 
|---|
| 31 | (MoleculeSaveAdjacency) \ | 
|---|
| 32 | (MoleculeFillVoidWithMolecule) \ | 
|---|
| 33 | (MoleculeVerletIntegration) \ | 
|---|
| 34 | (MoleculeChangeName) \ | 
|---|
| 35 | (MoleculeChangeBondAngle) \ | 
|---|
| 36 | (MoleculeRotateAroundSelfByAngle) \ | 
|---|
| 37 | (MoleculeSaveSelectedMolecules) \ | 
|---|
| 38 | (MoleculeSaveBonds) \ | 
|---|
| 39 | (MoleculeStretchBond) \ | 
|---|
| 40 | (MoleculeLinearInterpolationofTrajectories) \ | 
|---|
| 41 | (MoleculeLoad) \ | 
|---|
| 42 | (MoleculeBondFile) \ | 
|---|
| 43 | (TesselationNonConvexEnvelope) \ | 
|---|
| 44 | (TesselationConvexEnvelope) \ | 
|---|
| 45 | (CommandElementDb) \ | 
|---|
| 46 | (CommandVerbose) \ | 
|---|
| 47 | (CommandWarranty) \ | 
|---|
| 48 | (CommandVersion) \ | 
|---|
| 49 | (CommandHelp) \ | 
|---|
| 50 | (CommandHelpRedistribute) \ | 
|---|
| 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) \ | 
|---|
| 77 | (BondAdd) \ | 
|---|
| 78 | (BondRemove) \ | 
|---|
| 79 | (WorldCenterInBox) \ | 
|---|
| 80 | (WorldRepeatBox) \ | 
|---|
| 81 | (WorldChangeBox) \ | 
|---|
| 82 | (WorldCenterOnEdge) \ | 
|---|
| 83 | (WorldSetWorldTime) \ | 
|---|
| 84 | (WorldSetBoundaryConditions) \ | 
|---|
| 85 | (WorldOutput) \ | 
|---|
| 86 | (WorldOutputAs) \ | 
|---|
| 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) \ | 
|---|
| 102 | (SelectionInvertMolecules) \ | 
|---|
| 103 | (SelectionMoleculeByFormula) \ | 
|---|
| 104 | (SelectionNotMoleculeByFormula) \ | 
|---|
| 105 | (SelectionNotMoleculeByName) \ | 
|---|
| 106 | (SelectionNotAtomById) \ | 
|---|
| 107 | (SelectionNotAtomByOrder) \ | 
|---|
| 108 | (SelectionAllAtoms) \ | 
|---|
| 109 | (SelectionClearAllAtoms) \ | 
|---|
| 110 | (SelectionInvertAtoms) \ | 
|---|
| 111 | (SelectionNotAllAtoms) \ | 
|---|
| 112 | (SelectionNotAtomByElement) \ | 
|---|
| 113 | (SelectionAllAtomsInsideVolume) \ | 
|---|
| 114 | (SelectionAllAtomsOfMolecule) \ | 
|---|
| 115 | (SelectionNotAllAtomsInsideVolume) \ | 
|---|
| 116 | (SelectionAtomByElement) \ | 
|---|
| 117 | (SelectionNotAllAtomsOfMolecule) \ | 
|---|
| 118 | (SelectionAtomById) \ | 
|---|
| 119 | (SelectionAtomByOrder) \ | 
|---|
| 120 | (SelectionAllShapes) \ | 
|---|
| 121 | (SelectionShapeByName) \ | 
|---|
| 122 | (SelectionNotAllShapes) \ | 
|---|
| 123 | (SelectionNotShapeByName) \ | 
|---|
| 124 | (FragmentationAnalyseFragmentationResults) \ | 
|---|
| 125 | (FragmentationFragmentation) \ | 
|---|
| 126 | (FragmentationStoreSaturatedFragment) \ | 
|---|
| 127 | (PotentialFitParticleCharges) \ | 
|---|
| 128 | (PotentialParseHomologies) \ | 
|---|
| 129 | (PotentialSaveHomologies) \ | 
|---|
| 130 | (FillRegularGrid) \ | 
|---|
| 131 | (FillSurface) \ | 
|---|
| 132 | (ShapeCombineShapes) \ | 
|---|
| 133 | (ShapeCreateShape) \ | 
|---|
| 134 | (ShapeRemoveShape) \ | 
|---|
| 135 | (ShapeRotateShape) \ | 
|---|
| 136 | (ShapeStretchShape) \ | 
|---|
| 137 | (ShapeTranslateShape) | 
|---|
| 138 |  | 
|---|
| 139 | // we need to append the automation action in case we have the JobMarket | 
|---|
| 140 | #ifdef HAVE_JOBMARKET | 
|---|
| 141 | #define GLOBALLISTOFACTIONS_JOBMARKET \ | 
|---|
| 142 | BOOST_PP_SEQ_PUSH_BACK( \ | 
|---|
| 143 | BOOST_PP_SEQ_PUSH_BACK( \ | 
|---|
| 144 | BOOST_PP_SEQ_PUSH_BACK( \ | 
|---|
| 145 | GLOBALLISTOFACTIONS_initial, \ | 
|---|
| 146 | FragmentationFragmentationAutomation \ | 
|---|
| 147 | ), \ | 
|---|
| 148 | FragmentationMolecularDynamics \ | 
|---|
| 149 | ), \ | 
|---|
| 150 | FragmentationParseFragmentJobs \ | 
|---|
| 151 | ) | 
|---|
| 152 | #else | 
|---|
| 153 | #define GLOBALLISTOFACTIONS_JOBMARKET \ | 
|---|
| 154 | GLOBALLISTOFACTIONS_initial | 
|---|
| 155 | #endif /* HAVE_JOBMARKET */ | 
|---|
| 156 |  | 
|---|
| 157 | #ifdef HAVE_LEVMAR | 
|---|
| 158 | #define GLOBALLISTOFACTIONS_LEVMAR \ | 
|---|
| 159 | BOOST_PP_SEQ_PUSH_BACK( \ | 
|---|
| 160 | GLOBALLISTOFACTIONS_JOBMARKET, \ | 
|---|
| 161 | PotentialFitPotential \ | 
|---|
| 162 | ) | 
|---|
| 163 | #else | 
|---|
| 164 | #define GLOBALLISTOFACTIONS_LEVMAR \ | 
|---|
| 165 | GLOBALLISTOFACTIONS_JOBMARKET | 
|---|
| 166 | #endif /* HAVE_LEVMAR */ | 
|---|
| 167 |  | 
|---|
| 168 | // define final list | 
|---|
| 169 | #define GLOBALLISTOFACTIONS GLOBALLISTOFACTIONS_LEVMAR | 
|---|
| 170 |  | 
|---|
| 171 | #endif /* GLOBALLISTOFACTIONS_HPP_ */ | 
|---|
| 172 |  | 
|---|