Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/GlobalListOfActions.hpp

    r531f27 r004d5c  
    1414#endif
    1515
     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) \
     36  (MoleculeLinearInterpolationofTrajectories) \
     37  (MoleculeLoad) \
     38  (MoleculeBondFile) \
     39  (TesselationNonConvexEnvelope) \
     40  (TesselationConvexEnvelope) \
     41  (CommandElementDb) \
     42  (CommandVerbose) \
     43  (CommandWarranty) \
     44  (CommandVersion) \
     45  (CommandHelp) \
     46  (CommandBondLengthTable) \
     47  (CommandFastParsing) \
     48  (ParserSetTremoloAtomdata) \
     49  (ParserParseTremoloPotentials) \
     50  (ParserSaveSelectedAtomsAsExtTypes) \
     51  (ParserSetParserParameters) \
     52  (ParserSetOutputFormats) \
     53  (AnalysisCalculateBoundingBox) \
     54  (AnalysisCalculateCellVolume) \
     55  (AnalysisCalculateMolarMass) \
     56  (AnalysisDipoleAngularCorrelation) \
     57  (AnalysisDipoleCorrelation) \
     58  (AnalysisPairCorrelation) \
     59  (AnalysisPointCorrelation) \
     60  (AnalysisSurfaceCorrelation) \
     61  (AnalysisMolecularVolume) \
     62  (AnalysisPrincipalAxisSystem) \
     63  (CommandSetRandomNumbersEngine) \
     64  (CommandSetRandomNumbersDistribution) \
     65  (Undo) \
     66  (AtomSaveSelectedAtoms) \
     67  (AtomRotateAroundOriginByAngle) \
     68  (AtomChangeElement) \
     69  (AtomRemove) \
     70  (AtomTranslate) \
     71  (AtomAdd) \
     72  (WorldCenterInBox) \
     73  (WorldRepeatBox) \
     74  (WorldChangeBox) \
     75  (WorldCenterOnEdge) \
     76  (WorldSetWorldTime) \
     77  (WorldSetBoundaryConditions) \
     78  (WorldOutput) \
     79  (WorldSetDefaultName) \
     80  (WorldScaleBox) \
     81  (WorldAddEmptyBoundary) \
     82  (WorldBoundInBox) \
     83  (WorldInput) \
     84  (SelectionNotMoleculeOfAtom) \
     85  (SelectionNotAllMolecules) \
     86  (SelectionNotMoleculeById) \
     87  (SelectionMoleculeByOrder) \
     88  (SelectionMoleculeOfAtom) \
     89  (SelectionNotMoleculeByOrder) \
     90  (SelectionMoleculeByName) \
     91  (SelectionMoleculeById) \
     92  (SelectionAllMolecules) \
     93  (SelectionClearAllMolecules) \
     94  (SelectionInvertMolecules) \
     95  (SelectionMoleculeByFormula) \
     96  (SelectionNotMoleculeByFormula) \
     97  (SelectionNotMoleculeByName) \
     98  (SelectionNotAtomById) \
     99  (SelectionNotAtomByOrder) \
     100  (SelectionAllAtomsInsideCuboid) \
     101  (SelectionAllAtoms) \
     102  (SelectionClearAllAtoms) \
     103  (SelectionInvertAtoms) \
     104  (SelectionNotAllAtoms) \
     105  (SelectionNotAtomByElement) \
     106  (SelectionAllAtomsInsideSphere) \
     107  (SelectionAllAtomsOfMolecule) \
     108  (SelectionNotAllAtomsInsideSphere) \
     109  (SelectionAtomByElement) \
     110  (SelectionNotAllAtomsOfMolecule) \
     111  (SelectionNotAllAtomsInsideCuboid) \
     112  (SelectionAtomById) \
     113  (SelectionAtomByOrder) \
     114  (FragmentationFragmentation) \
     115  (FillRegularGrid) \
     116  (FillSphericalSurface)
     117
     118// we need to append the automation action in case we have the JobMarket
     119#ifdef HAVE_JOBMARKET
    16120#define GLOBALLISTOFACTIONS \
    17         (Redo) \
    18         (GraphSubgraphDissection) \
    19         (GraphCreateAdjacency) \
    20         (GraphDepthFirstSearch) \
    21         (MoleculeSaveTemperature) \
    22         (MoleculeCopy) \
    23         (MoleculeSuspendInWater) \
    24         (MoleculeFillWithMolecule) \
    25         (MoleculeRotateToPrincipalAxisSystem) \
    26         (MoleculeSaveAdjacency) \
    27         (MoleculeFillVoidWithMolecule) \
    28         (MoleculeVerletIntegration) \
    29         (MoleculeChangeName) \
    30         (MoleculeRotateAroundSelfByAngle) \
    31         (MoleculeSaveSelectedMolecules) \
    32         (MoleculeSaveBonds) \
    33         (MoleculeLinearInterpolationofTrajectories) \
    34         (MoleculeLoad) \
    35         (MoleculeBondFile) \
    36         (TesselationNonConvexEnvelope) \
    37         (TesselationConvexEnvelope) \
    38         (CommandElementDb) \
    39         (CommandVerbose) \
    40         (CommandWarranty) \
    41         (CommandVersion) \
    42         (CommandHelp) \
    43         (CommandBondLengthTable) \
    44         (CommandFastParsing) \
    45         (ParserSetTremoloAtomdata) \
    46         (ParserParseTremoloPotentials) \
    47         (ParserSaveSelectedAtomsAsExtTypes) \
    48         (ParserSetParserParameters) \
    49         (ParserSetOutputFormats) \
    50         (AnalysisCalculateBoundingBox) \
    51         (AnalysisCalculateCellVolume) \
    52         (AnalysisCalculateMolarMass) \
    53         (AnalysisDipoleAngularCorrelation) \
    54         (AnalysisDipoleCorrelation) \
    55         (AnalysisPairCorrelation) \
    56         (AnalysisPointCorrelation) \
    57         (AnalysisSurfaceCorrelation) \
    58         (AnalysisMolecularVolume) \
    59         (AnalysisPrincipalAxisSystem) \
    60         (CommandSetRandomNumbersEngine) \
    61         (CommandSetRandomNumbersDistribution) \
    62         (Undo) \
    63         (AtomSaveSelectedAtoms) \
    64         (AtomRotateAroundOriginByAngle) \
    65         (AtomChangeElement) \
    66         (AtomRemove) \
    67         (AtomTranslate) \
    68         (AtomAdd) \
    69         (WorldCenterInBox) \
    70         (WorldRepeatBox) \
    71         (WorldChangeBox) \
    72         (WorldCenterOnEdge) \
    73         (WorldSetWorldTime) \
    74         (WorldSetBoundaryConditions) \
    75         (WorldOutput) \
    76         (WorldSetDefaultName) \
    77         (WorldScaleBox) \
    78         (WorldAddEmptyBoundary) \
    79         (WorldBoundInBox) \
    80         (WorldInput) \
    81         (SelectionNotMoleculeOfAtom) \
    82         (SelectionNotAllMolecules) \
    83         (SelectionNotMoleculeById) \
    84         (SelectionMoleculeByOrder) \
    85         (SelectionMoleculeOfAtom) \
    86         (SelectionNotMoleculeByOrder) \
    87         (SelectionMoleculeByName) \
    88         (SelectionMoleculeById) \
    89         (SelectionAllMolecules) \
    90         (SelectionClearAllMolecules) \
    91   (SelectionInvertMolecules) \
    92         (SelectionMoleculeByFormula) \
    93         (SelectionNotMoleculeByFormula) \
    94         (SelectionNotMoleculeByName) \
    95         (SelectionNotAtomById) \
    96         (SelectionNotAtomByOrder) \
    97         (SelectionAllAtomsInsideCuboid) \
    98         (SelectionAllAtoms) \
    99         (SelectionClearAllAtoms) \
    100   (SelectionInvertAtoms) \
    101         (SelectionNotAllAtoms) \
    102         (SelectionNotAtomByElement) \
    103         (SelectionAllAtomsInsideSphere) \
    104         (SelectionAllAtomsOfMolecule) \
    105         (SelectionNotAllAtomsInsideSphere) \
    106         (SelectionAtomByElement) \
    107         (SelectionNotAllAtomsOfMolecule) \
    108         (SelectionNotAllAtomsInsideCuboid) \
    109         (SelectionAtomById) \
    110         (SelectionAtomByOrder) \
    111         (FragmentationFragmentation) \
    112         (FillRegularGrid) \
    113         (FillSphericalSurface)
     121    BOOST_PP_SEQ_PUSH_BACK( \
     122        GLOBALLISTOFACTIONS_initial, \
     123        FragmentationFragmentationAutomation \
     124      )
     125#else
     126#define GLOBALLISTOFACTIONS \
     127    GLOBALLISTOFACTIONS_initial
     128#endif /* HAVE_JOBMARKET */
    114129
    115130#endif /* GLOBALLISTOFACTIONS_HPP_ */
Note: See TracChangeset for help on using the changeset viewer.