| 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 | #include <boost/preprocessor/seq/remove.hpp>
|
|---|
| 18 |
|
|---|
| 19 | // this is global list of actions valid for all cases
|
|---|
| 20 | // PLEASE adhere to the alphabetical ordering of the list of Actions
|
|---|
| 21 | // NOTE that Redo must remain at the front due to technical reasons
|
|---|
| 22 | #define GLOBALLISTOFACTIONS_initial \
|
|---|
| 23 | (Redo) \
|
|---|
| 24 | (AnalysisDipoleAngularCorrelation) \
|
|---|
| 25 | (AnalysisDipoleCorrelation) \
|
|---|
| 26 | (AnalysisMolecularVolume) \
|
|---|
| 27 | (AnalysisPairCorrelation) \
|
|---|
| 28 | (AnalysisPointCorrelation) \
|
|---|
| 29 | (AnalysisPrincipalAxisSystem) \
|
|---|
| 30 | (AnalysisSurfaceCorrelation) \
|
|---|
| 31 | (AtomAdd) \
|
|---|
| 32 | (AtomChangeElement) \
|
|---|
| 33 | (AtomRemove) \
|
|---|
| 34 | (AtomRotateAroundOriginByAngle) \
|
|---|
| 35 | (AtomSaveSelectedAtoms) \
|
|---|
| 36 | (AtomTranslate) \
|
|---|
| 37 | (BondAdd) \
|
|---|
| 38 | (BondRemove) \
|
|---|
| 39 | (CommandElementDb) \
|
|---|
| 40 | (CommandBondLengthTable) \
|
|---|
| 41 | (CommandFastParsing) \
|
|---|
| 42 | (CommandHelp) \
|
|---|
| 43 | (CommandHelpRedistribute) \
|
|---|
| 44 | (CommandSetRandomNumbersEngine) \
|
|---|
| 45 | (CommandSetRandomNumbersDistribution) \
|
|---|
| 46 | (CommandStoreSession) \
|
|---|
| 47 | (CommandVerbose) \
|
|---|
| 48 | (CommandVersion) \
|
|---|
| 49 | (CommandWarranty) \
|
|---|
| 50 | (FillRegularGrid) \
|
|---|
| 51 | (FillSurface) \
|
|---|
| 52 | (FragmentationAnalyseFragmentationResults) \
|
|---|
| 53 | (FragmentationClearFragmentationResults) \
|
|---|
| 54 | (FragmentationFragmentation) \
|
|---|
| 55 | (FragmentationFragmentationAutomation) \
|
|---|
| 56 | (FragmentationMolecularDynamics) \
|
|---|
| 57 | (FragmentationParseFragmentJobs) \
|
|---|
| 58 | (FragmentationStoreSaturatedFragment) \
|
|---|
| 59 | (GraphUpdateMolecules) \
|
|---|
| 60 | (GraphCorrectBondDegree) \
|
|---|
| 61 | (GraphCreateAdjacency) \
|
|---|
| 62 | (GraphDepthFirstSearch) \
|
|---|
| 63 | (GraphDestroyAdjacency) \
|
|---|
| 64 | (GraphSubgraphDissection) \
|
|---|
| 65 | (MoleculeBondFile) \
|
|---|
| 66 | (MoleculeChangeName) \
|
|---|
| 67 | (MoleculeChangeBondAngle) \
|
|---|
| 68 | (MoleculeCopy) \
|
|---|
| 69 | (MoleculeFillWithMolecule) \
|
|---|
| 70 | (MoleculeFillVoidWithMolecule) \
|
|---|
| 71 | (MoleculeLinearInterpolationofTrajectories) \
|
|---|
| 72 | (MoleculeLoad) \
|
|---|
| 73 | (MoleculeRotateAroundSelfByAngle) \
|
|---|
| 74 | (MoleculeRotateToPrincipalAxisSystem) \
|
|---|
| 75 | (MoleculeSaveAdjacency) \
|
|---|
| 76 | (MoleculeSaveBonds) \
|
|---|
| 77 | (MoleculeSaveSelectedMolecules) \
|
|---|
| 78 | (MoleculeSaveTemperature) \
|
|---|
| 79 | (MoleculeStretchBond) \
|
|---|
| 80 | (MoleculeSuspendInWater) \
|
|---|
| 81 | (MoleculeVerletIntegration) \
|
|---|
| 82 | (PotentialFitParticleCharges) \
|
|---|
| 83 | (PotentialParseHomologies) \
|
|---|
| 84 | (PotentialSaveHomologies) \
|
|---|
| 85 | (ParserParseTremoloPotentials) \
|
|---|
| 86 | (ParserSaveSelectedAtomsAsExtTypes) \
|
|---|
| 87 | (ParserSetParserParameters) \
|
|---|
| 88 | (ParserSetOutputFormats) \
|
|---|
| 89 | (ParserSetTremoloAtomdata) \
|
|---|
| 90 | (Undo) \
|
|---|
| 91 | (SelectionAllAtoms) \
|
|---|
| 92 | (SelectionAllAtomsInsideVolume) \
|
|---|
| 93 | (SelectionAllAtomsOfMolecule) \
|
|---|
| 94 | (SelectionAllMolecules) \
|
|---|
| 95 | (SelectionAllShapes) \
|
|---|
| 96 | (SelectionAtomByElement) \
|
|---|
| 97 | (SelectionAtomById) \
|
|---|
| 98 | (SelectionAtomByOrder) \
|
|---|
| 99 | (SelectionClearAllAtoms) \
|
|---|
| 100 | (SelectionClearAllMolecules) \
|
|---|
| 101 | (SelectionInvertAtoms) \
|
|---|
| 102 | (SelectionInvertMolecules) \
|
|---|
| 103 | (SelectionMoleculeOfAtom) \
|
|---|
| 104 | (SelectionMoleculeByFormula) \
|
|---|
| 105 | (SelectionMoleculeById) \
|
|---|
| 106 | (SelectionMoleculeByName) \
|
|---|
| 107 | (SelectionMoleculeByOrder) \
|
|---|
| 108 | (SelectionNotAllAtoms) \
|
|---|
| 109 | (SelectionNotAllAtomsInsideVolume) \
|
|---|
| 110 | (SelectionNotAllAtomsOfMolecule) \
|
|---|
| 111 | (SelectionNotAllMolecules) \
|
|---|
| 112 | (SelectionNotAllShapes) \
|
|---|
| 113 | (SelectionNotAtomById) \
|
|---|
| 114 | (SelectionNotAtomByElement) \
|
|---|
| 115 | (SelectionNotAtomByOrder) \
|
|---|
| 116 | (SelectionNotMoleculeOfAtom) \
|
|---|
| 117 | (SelectionNotMoleculeByFormula) \
|
|---|
| 118 | (SelectionNotMoleculeById) \
|
|---|
| 119 | (SelectionNotMoleculeByName) \
|
|---|
| 120 | (SelectionNotMoleculeByOrder) \
|
|---|
| 121 | (SelectionNotShapeByName) \
|
|---|
| 122 | (SelectionShapeByName) \
|
|---|
| 123 | (ShapeCombineShapes) \
|
|---|
| 124 | (ShapeCreateShape) \
|
|---|
| 125 | (ShapeRemoveShape) \
|
|---|
| 126 | (ShapeRotateShape) \
|
|---|
| 127 | (ShapeStretchShape) \
|
|---|
| 128 | (ShapeTranslateShape) \
|
|---|
| 129 | (TesselationConvexEnvelope) \
|
|---|
| 130 | (TesselationNonConvexEnvelope) \
|
|---|
| 131 | (WorldAddEmptyBoundary) \
|
|---|
| 132 | (WorldBoundInBox) \
|
|---|
| 133 | (WorldCenterInBox) \
|
|---|
| 134 | (WorldCenterOnEdge) \
|
|---|
| 135 | (WorldChangeBox) \
|
|---|
| 136 | (WorldInput) \
|
|---|
| 137 | (WorldOutput) \
|
|---|
| 138 | (WorldOutputAs) \
|
|---|
| 139 | (WorldRepeatBox) \
|
|---|
| 140 | (WorldScaleBox) \
|
|---|
| 141 | (WorldSetBoundaryConditions) \
|
|---|
| 142 | (WorldSetDefaultName) \
|
|---|
| 143 | (WorldSetWorldTime)
|
|---|
| 144 |
|
|---|
| 145 | // extend list of actions in case levmar is available
|
|---|
| 146 | #ifdef HAVE_LEVMAR
|
|---|
| 147 | #define GLOBALLISTOFACTIONS_LEVMAR \
|
|---|
| 148 | BOOST_PP_SEQ_PUSH_BACK( \
|
|---|
| 149 | GLOBALLISTOFACTIONS_initial, \
|
|---|
| 150 | PotentialFitPotential \
|
|---|
| 151 | )
|
|---|
| 152 | #else
|
|---|
| 153 | #define GLOBALLISTOFACTIONS_LEVMAR \
|
|---|
| 154 | GLOBALLISTOFACTIONS_initial
|
|---|
| 155 | #endif /* HAVE_LEVMAR */
|
|---|
| 156 |
|
|---|
| 157 | // define final list
|
|---|
| 158 | #ifdef HAVE_PYTHON
|
|---|
| 159 | #define GLOBALLISTOFACTIONS_PYTHON \
|
|---|
| 160 | BOOST_PP_SEQ_PUSH_BACK( \
|
|---|
| 161 | GLOBALLISTOFACTIONS_LEVMAR, \
|
|---|
| 162 | CommandLoadSession \
|
|---|
| 163 | )
|
|---|
| 164 | #else
|
|---|
| 165 | #define GLOBALLISTOFACTIONS_PYTHON \
|
|---|
| 166 | GLOBALLISTOFACTIONS_LEVMAR
|
|---|
| 167 | #endif
|
|---|
| 168 |
|
|---|
| 169 | #define GLOBALLISTOFACTIONS GLOBALLISTOFACTIONS_PYTHON
|
|---|
| 170 |
|
|---|
| 171 | // define python list
|
|---|
| 172 | // skips CommandLoadSession as this causes dangerous infinite loops
|
|---|
| 173 | #define GLOBALLISTOFPYTHONACTIONS \
|
|---|
| 174 | GLOBALLISTOFACTIONS_LEVMAR
|
|---|
| 175 |
|
|---|
| 176 | #endif /* GLOBALLISTOFACTIONS_HPP_ */
|
|---|
| 177 |
|
|---|