Ignore:
Timestamp:
Oct 30, 2010, 7:22:34 PM (14 years ago)
Author:
Frederik Heber <heber@…>
Branches:
Action_Thermostats, Add_AtomRandomPerturbation, Add_FitFragmentPartialChargesAction, Add_RotateAroundBondAction, Add_SelectAtomByNameAction, Added_ParseSaveFragmentResults, AddingActions_SaveParseParticleParameters, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_ParticleName_to_Atom, Adding_StructOpt_integration_tests, AtomFragments, Automaking_mpqc_open, AutomationFragmentation_failures, Candidate_v1.5.4, Candidate_v1.6.0, Candidate_v1.6.1, ChangeBugEmailaddress, ChangingTestPorts, ChemicalSpaceEvaluator, CombiningParticlePotentialParsing, Combining_Subpackages, Debian_Package_split, Debian_package_split_molecuildergui_only, Disabling_MemDebug, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph, EmpiricalPotential_contain_HomologyGraph_documentation, Enable_parallel_make_install, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, FitPartialCharges_GlobalError, Fix_BoundInBox_CenterInBox_MoleculeActions, Fix_ChargeSampling_PBC, Fix_ChronosMutex, Fix_FitPartialCharges, Fix_FitPotential_needs_atomicnumbers, Fix_ForceAnnealing, Fix_IndependentFragmentGrids, Fix_ParseParticles, Fix_ParseParticles_split_forward_backward_Actions, Fix_PopActions, Fix_QtFragmentList_sorted_selection, Fix_Restrictedkeyset_FragmentMolecule, Fix_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, Fix_fitting_potentials, Fixes, ForceAnnealing_goodresults, ForceAnnealing_oldresults, ForceAnnealing_tocheck, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, FragmentAction_writes_AtomFragments, FragmentMolecule_checks_bonddegrees, GeometryObjects, Gui_Fixes, Gui_displays_atomic_force_velocity, ImplicitCharges, IndependentFragmentGrids, IndependentFragmentGrids_IndividualZeroInstances, IndependentFragmentGrids_IntegrationTest, IndependentFragmentGrids_Sole_NN_Calculation, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, JobMarket_unresolvable_hostname_fix, MoreRobust_FragmentAutomation, ODR_violation_mpqc_open, PartialCharges_OrthogonalSummation, PdbParser_setsAtomName, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, Rewrite_FitPartialCharges, RotateToPrincipalAxisSystem_UndoRedo, SaturateAtoms_findBestMatching, SaturateAtoms_singleDegree, StoppableMakroAction, Subpackage_CodePatterns, Subpackage_JobMarket, Subpackage_LinearAlgebra, Subpackage_levmar, Subpackage_mpqc_open, Subpackage_vmg, Switchable_LogView, ThirdParty_MPQC_rebuilt_buildsystem, TrajectoryDependenant_MaxOrder, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps, TremoloParser_setsAtomName, Ubuntu_1604_changes, stable
Children:
8bcf3f
Parents:
052bfd8
git-author:
Frederik Heber <heber@…> (10/26/10 13:56:46)
git-committer:
Frederik Heber <heber@…> (10/30/10 19:22:34)
Message:

Replaced ACTION::NAME in .def files by contents DESCRPTION.

  • in ActionTrait constructor we cannot access Action (i.e. NAME)
  • also, this is inconsistent and errorprone
    • ACTION::NAME has to be remembered as the shortform for an Action beloning to the action
    • ACTION may be spelled out and thus also mis-spelled.
  • conversion script contained in src/Actions/convert4.sh.
Location:
src/Actions/SelectionAction
Files:
16 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/SelectionAction/AllAtomsInsideCuboidAction.def

    r052bfd8 rd57341  
    1414// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    1515// "undefine" if no parameters are required
    16 #define paramtypes (Vector) (Vector) (double) (double) (double)
    17 #define paramtokens (SelectionAllAtomsInsideCuboidAction::NAME) ("position") ("angle-x") ("angle-y") ("angle-z")
    18 #define paramdescriptions ("select all atoms inside a cuboid") ("position in R^3 space") ("angle of a rotation around x axis") ("angle of a rotation around y axis") ("angle of a rotation around z axis")
    19 #define paramreferences (extension) (position) (Xangle) (Yangle) (Zangle)
     16#define paramtypes (Vector)(Vector)(double)(double)(double)
     17#define paramtokens ("select-atoms-inside-cuboid")("position")("angle-x")("angle-y")("angle-z")
     18#define paramdescriptions ("select all atoms inside a cuboid")("position in R^3 space")("angle of a rotation around x axis")("angle of a rotation around y axis")("angle of a rotation around z axis")
     19#define paramreferences (extension)(position)(Xangle)(Yangle)(Zangle)
    2020
    2121#define statetypes (std::vector<atom*>)
  • src/Actions/SelectionAction/AllAtomsInsideSphereAction.def

    r052bfd8 rd57341  
    1212// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    1313// "undefine" if no parameters are required
    14 #define paramtypes (double) (Vector)
    15 #define paramtokens (SelectionAllAtomsInsideSphereAction::NAME) ("position")
    16 #define paramdescriptions ("select all atoms inside a sphere") ("position in R^3 space")
    17 #define paramreferences (radius) (position)
     14#define paramtypes (double)(Vector)
     15#define paramtokens ("select-atoms-inside-sphere")("position")
     16#define paramdescriptions ("select all atoms inside a sphere")("position in R^3 space")
     17#define paramreferences (radius)(position)
    1818
    1919#define statetypes (std::vector<atom*>)
  • src/Actions/SelectionAction/AllAtomsOfMoleculeAction.def

    r052bfd8 rd57341  
    1313// "undefine" if no parameters are required
    1414#define paramtypes (molecule *)
    15 #define paramtokens (SelectionAllAtomsOfMoleculeAction::NAME)
     15#define paramtokens ("select-molecules-atoms")
    1616#define paramdescriptions ("select all atoms of a molecule")
    1717#define paramreferences (mol)
  • src/Actions/SelectionAction/AtomByElementAction.def

    r052bfd8 rd57341  
    1313// "undefine" if no parameters are required
    1414#define paramtypes (const element*)
    15 #define paramtokens (SelectionAtomByElementAction::NAME)
     15#define paramtokens ("select-atom-by-element")
    1616#define paramdescriptions ("select an atom by element")
    1717#define paramreferences (elemental)
  • src/Actions/SelectionAction/AtomByIdAction.def

    r052bfd8 rd57341  
    1313// "undefine" if no parameters are required
    1414#define paramtypes (atom*)
    15 #define paramtokens (SelectionAtomByIdAction::NAME)
     15#define paramtokens ("select-atom-by-id")
    1616#define paramdescriptions ("select an atom by index")
    1717#define paramreferences (Walker)
  • src/Actions/SelectionAction/MoleculeByFormulaAction.def

    r052bfd8 rd57341  
    1313// "undefine" if no parameters are required
    1414#define paramtypes (std::string)
    15 #define paramtokens (SelectionMoleculeByFormulaAction::NAME)
     15#define paramtokens ("select-molecule-by-formula")
    1616#define paramdescriptions ("select a molecule by chemical formula")
    1717#define paramreferences (formula)
  • src/Actions/SelectionAction/MoleculeByIdAction.def

    r052bfd8 rd57341  
    1313// "undefine" if no parameters are required
    1414#define paramtypes (molecule*)
    15 #define paramtokens (SelectionMoleculeByIdAction::NAME)
     15#define paramtokens ("select-molecule-by-id")
    1616#define paramdescriptions ("select a molecule by index")
    1717#define paramreferences (mol)
  • src/Actions/SelectionAction/MoleculeOfAtomAction.def

    r052bfd8 rd57341  
    1212// "undefine" if no parameters are required
    1313#define paramtypes (atom*)
    14 #define paramtokens (SelectionMoleculeOfAtomAction::NAME)
     14#define paramtokens ("select-molecule-of-atom")
    1515#define paramdescriptions ("select a molecule to which a given atom belongs")
    1616#define paramreferences (Walker)
  • src/Actions/SelectionAction/NotAllAtomsInsideCuboidAction.def

    r052bfd8 rd57341  
    1414// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    1515// "undefine" if no parameters are required
    16 #define paramtypes (Vector) (Vector) (double) (double) (double)
    17 #define paramtokens (SelectionNotAllAtomsInsideCuboidAction::NAME) ("position") ("angle-x") ("angle-y") ("angle-z")
    18 #define paramdescriptions ("unselect all atoms inside a cuboid") ("position in R^3 space") ("angle of a rotation around x axis") ("angle of a rotation around y axis") ("angle of a rotation around z axis")
    19 #define paramreferences (extension) (position) (Xangle) (Yangle) (Zangle)
     16#define paramtypes (Vector)(Vector)(double)(double)(double)
     17#define paramtokens ("unselect-atoms-inside-cuboid")("position")("angle-x")("angle-y")("angle-z")
     18#define paramdescriptions ("unselect all atoms inside a cuboid")("position in R^3 space")("angle of a rotation around x axis")("angle of a rotation around y axis")("angle of a rotation around z axis")
     19#define paramreferences (extension)(position)(Xangle)(Yangle)(Zangle)
    2020
    2121#define statetypes (std::vector<atom*>)
  • src/Actions/SelectionAction/NotAllAtomsInsideSphereAction.def

    r052bfd8 rd57341  
    1212// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    1313// "undefine" if no parameters are required
    14 #define paramtypes (double) (Vector)
    15 #define paramtokens (SelectionNotAllAtomsInsideSphereAction::NAME) ("position")
    16 #define paramdescriptions ("unselect all atoms inside a sphere") ("position in R^3 space")
    17 #define paramreferences (radius) (position)
     14#define paramtypes (double)(Vector)
     15#define paramtokens ("unselect-atoms-inside-sphere")("position")
     16#define paramdescriptions ("unselect all atoms inside a sphere")("position in R^3 space")
     17#define paramreferences (radius)(position)
    1818
    1919#define statetypes (std::vector<atom*>)
  • src/Actions/SelectionAction/NotAllAtomsOfMoleculeAction.def

    r052bfd8 rd57341  
    1313// "undefine" if no parameters are required
    1414#define paramtypes (molecule*)
    15 #define paramtokens (SelectionNotAllAtomsOfMoleculeAction::NAME)
     15#define paramtokens ("unselect-molecules-atoms")
    1616#define paramdescriptions ("unselect all atoms of a molecule")
    1717#define paramreferences (mol)
  • src/Actions/SelectionAction/NotAtomByElementAction.def

    r052bfd8 rd57341  
    1313// "undefine" if no parameters are required
    1414#define paramtypes (const element*)
    15 #define paramtokens (SelectionNotAtomByElementAction::NAME)
     15#define paramtokens ("unselect-atom-by-element")
    1616#define paramdescriptions ("unselect an atom by element")
    1717#define paramreferences (elemental)
  • src/Actions/SelectionAction/NotAtomByIdAction.def

    r052bfd8 rd57341  
    1313// "undefine" if no parameters are required
    1414#define paramtypes (atom*)
    15 #define paramtokens (SelectionNotAtomByIdAction::NAME)
     15#define paramtokens ("unselect-atom-by-id")
    1616#define paramdescriptions ("unselect an atom by index")
    1717#define paramreferences (Walker)
  • src/Actions/SelectionAction/NotMoleculeByFormulaAction.def

    r052bfd8 rd57341  
    1313// "undefine" if no parameters are required
    1414#define paramtypes (std::string)
    15 #define paramtokens (SelectionNotMoleculeByFormulaAction::NAME)
     15#define paramtokens ("unselect-molecule-by-formula")
    1616#define paramdescriptions ("unselect a molecule by chemical formula")
    1717#define paramreferences (formula)
  • src/Actions/SelectionAction/NotMoleculeByIdAction.def

    r052bfd8 rd57341  
    1313// "undefine" if no parameters are required
    1414#define paramtypes (molecule*)
    15 #define paramtokens (SelectionNotMoleculeByIdAction::NAME)
     15#define paramtokens ("unselect-molecule-by-id")
    1616#define paramdescriptions ("unselect a molecule by index")
    1717#define paramreferences (mol)
  • src/Actions/SelectionAction/NotMoleculeOfAtomAction.def

    r052bfd8 rd57341  
    1212// "undefine" if no parameters are required
    1313#define paramtypes (atom*)
    14 #define paramtokens (SelectionNotMoleculeOfAtomAction::NAME)
     14#define paramtokens ("unselect-molecule-of-atom")
    1515#define paramdescriptions ("unselect a molecule to which a given atom belongs")
    1616#define paramreferences (Walker)
Note: See TracChangeset for help on using the changeset viewer.