Changeset 58bbd3 for src/Actions


Ignore:
Timestamp:
Jun 9, 2010, 3:08:46 PM (15 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:
31b09e
Parents:
1e6913
Message:

Cases 'C' are now handled by CommandLineUI.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/MapOfActions.cpp

    r1e6913 r58bbd3  
    5050  v = boost::any(BoxValue(BV));
    5151}
    52 
    5352
    5453/** Constructor of class MapOfActions.
     
    8584  DescriptionMap["nonconvex-envelope"] = "create the non-convex envelope for a molecule";
    8685  DescriptionMap["molecular-volume"] = "calculate the volume of a given molecule";
    87   DescriptionMap["pair-correlation"] = "pair correlation analysis between two elements";
    88   DescriptionMap["pair-correlation-point"] = "pair correlation analysis between atoms of a element to a given point";
    89   DescriptionMap["pair-correlation-surface"] = "pair correlation analysis between atoms of a given element and a surface";
     86  DescriptionMap["pair-correlation"] = "pair correlation analysis between two elements, element and point or element and surface";
    9087  DescriptionMap["parse-xyz"] = "parse xyz file into World";
    9188  DescriptionMap["principal-axis-system"] = "calculate the principal axis system of the specified molecule";
     
    113110  DescriptionMap["distances"] = "list of three of distances in space, one for each axis direction";
    114111  DescriptionMap["DoRotate"] = "whether to rotate or just report angles";
    115   DescriptionMap["element"] = "set of elements";
     112  DescriptionMap["element"] = "single element";
     113  DescriptionMap["elements"] = "set of elements";
    116114  DescriptionMap["end-mol"] = "last or end step";
    117115  DescriptionMap["input"] = "name of input file";
     
    120118  DescriptionMap["MaxDistance"] = "maximum distance in space";
    121119  DescriptionMap["molecule-by-id"] = "index of a molecule";
     120  DescriptionMap["molecule-by-name"] = "name of a molecule";
    122121  DescriptionMap["order"] = "order of a discretization, dissection, ...";
    123122  DescriptionMap["output-file"] = "name of the output file";
     
    146145  ShortFormMap["linear-interpolate"] = "L";
    147146  ShortFormMap["nonconvex-envelope"] = "N";
    148   ShortFormMap["pair-correlation"] = "CE";
    149   ShortFormMap["pair-correlation-point"] = "CP";
    150   ShortFormMap["pair-correlation-surface"] = "CS";
     147  ShortFormMap["pair-correlation"] = "C";
    151148  ShortFormMap["parse-xyz"] = "p";
    152149  ShortFormMap["remove-atom"] = "r";
     
    188185  TypeMap["nonconvex-envelope"] = Molecule;
    189186  TypeMap["parse-xyz"] = String;
     187  TypeMap["pair-correlation"] = String;
    190188  TypeMap["principal-axis-system"] = Axis;
    191189  TypeMap["remove-atom"] = Atom;
     
    208206  TypeMap["bin-end"] = Double;
    209207  TypeMap["bin-start"] = Double;
     208  TypeMap["bin-width"] = Double;
    210209  TypeMap["distance"] = Double;
    211210  TypeMap["distances"] = Vector;
     
    217216  TypeMap["MaxDistance"] = Double;
    218217  TypeMap["molecule-by-id"] = Molecule;
     218  TypeMap["molecule-by-name"] = Molecule;
    219219  TypeMap["order"] = Integer;
    220220  TypeMap["output-file"] = String;
     
    224224  // default values for any action that needs one (always string!)
    225225  DefaultValue["molecule-by-id"] = "-1";
     226  DefaultValue["bin-width"] = "0.5";
     227  DefaultValue["periodic"] = "0";
    226228
    227229
     
    240242//      generic.insert("default-molname");
    241243        generic.insert("depth-first-search");
    242 //      generic.insert("element-db");
     244//      generic.insert("element-d<b");
    243245//      generic.insert("fastparsing");
    244246  generic.insert("fill-molecule");
     
    248250//  generic.insert("molecular-volume");
    249251//  generic.insert("nonconvex-envelope");
    250 //      generic.insert("pair-correlation");
    251 //      generic.insert("pair-correlation-point");
    252 //      generic.insert("pair-correlation-surface");
     252        generic.insert("pair-correlation");
    253253//      generic.insert("parse-xyz");
    254254//  generic.insert("principal-axis-system");
     
    269269        generic.insert("version");
    270270//      // list of generic values
    271 //      generic.insert("bin-output-file");
    272 //  generic.insert("bin-end");
    273 //  generic.insert("bin-start");
    274271//  generic.insert("distance");
    275272//  generic.insert("distances");
     
    278275    generic.insert("input");
    279276//  generic.insert("length");
    280 //  generic.insert("output-file");
    281 //  generic.insert("periodic");
    282 //  generic.insert("position");
    283277//  generic.insert("start-mol");
    284278
     
    287281
    288282    // hidden arguments
     283  generic.insert("bin-end");
     284  generic.insert("bin-output-file");
     285  generic.insert("bin-start");
     286  generic.insert("bin-width");
    289287  generic.insert("distance");
    290288  generic.insert("DoRotate");
    291289  generic.insert("distances");
     290  generic.insert("element");
     291  generic.insert("elements");
    292292  generic.insert("lengths");
    293293  generic.insert("MaxDistance");
    294294  generic.insert("molecule-by-id");
     295  generic.insert("molecule-by-name");
    295296  generic.insert("order");
     297  generic.insert("output-file");
     298  generic.insert("periodic");
     299  generic.insert("position");
    296300}
    297301
Note: See TracChangeset for help on using the changeset viewer.