Changeset 770287 for src/Actions
- Timestamp:
- Aug 9, 2010, 12:57:20 PM (15 years ago)
- 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:
- 481e92
- Parents:
- 2218d94
- Location:
- src/Actions
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/Makefile.am
r2218d94 r770287 118 118 SELECTIONACTIONSOURCE = \ 119 119 SelectionAction/AllAtomsAction.cpp \ 120 SelectionAction/AllAtomsOfMoleculeAction.cpp \ 120 121 SelectionAction/AllMoleculesAction.cpp \ 121 122 SelectionAction/AtomByIdAction.cpp \ … … 129 130 SELECTIONACTIONHEADER = \ 130 131 SelectionAction/AllAtomsAction.hpp \ 132 SelectionAction/AllAtomsOfMoleculeAction.hpp \ 131 133 SelectionAction/AllMoleculesAction.hpp \ 132 134 SelectionAction/AtomByIdAction.hpp \ -
src/Actions/MapOfActions.cpp
r2218d94 r770287 67 67 #include "Actions/ParserAction/SaveXyzAction.hpp" 68 68 #include "Actions/SelectionAction/AllAtomsAction.hpp" 69 #include "Actions/SelectionAction/AllAtomsOfMoleculeAction.hpp" 69 70 #include "Actions/SelectionAction/AllMoleculesAction.hpp" 70 71 #include "Actions/SelectionAction/AtomByIdAction.hpp" … … 221 222 DescriptionMap["select-atom-by-id"] = "select an atom by index"; 222 223 DescriptionMap["select-molecule-by-id"] = "select a molecule by index"; 224 DescriptionMap["select-molecules-atoms"] = "select all atoms of a molecule"; 223 225 DescriptionMap["set-basis"] = "set the name of the gaussian basis set for MPQC"; 224 226 DescriptionMap["set-output"] = "specify output formats"; … … 336 338 TypeMap["save-temperature"] = &typeid(std::string); 337 339 TypeMap["scale-box"] = &typeid(VectorValue); 340 TypeMap["select-all-atoms"] = &typeid(void); 341 TypeMap["select-all-molecules"] = &typeid(void); 342 TypeMap["select-atom-by-id"] = &typeid(atom); 343 TypeMap["select-molecule-by-id"] = &typeid(molecule); 344 TypeMap["select-molecules-atoms"] = &typeid(molecule); 338 345 TypeMap["set-basis"] = &typeid(std::string); 339 346 TypeMap["set-output"] = &typeid(std::vector<std::string>); … … 342 349 TypeMap["suspend-in-water"] = &typeid(double); 343 350 TypeMap["translate-mol"] = &typeid(VectorValue); 351 TypeMap["unselect-all-atoms"] = &typeid(void); 352 TypeMap["unselect-all-molecules"] = &typeid(void); 353 TypeMap["unselect-atom-by-id"] = &typeid(atom); 354 TypeMap["unselect-molecule-by-id"] = &typeid(molecule); 344 355 TypeMap["verlet-integrate"] = &typeid(std::string); 345 356 TypeMap["verbose"] = &typeid(int); … … 367 378 TypeMap["periodic"] = &typeid(bool); 368 379 TypeMap["position"] = &typeid(VectorValue); 369 TypeMap["select-all-atoms"] = &typeid(void);370 TypeMap["select-all-molecules"] = &typeid(void);371 TypeMap["select-atom-by-id"] = &typeid(atom);372 TypeMap["select-molecule-by-id"] = &typeid(molecule);373 380 TypeMap["start-step"] = &typeid(int); 374 TypeMap["unselect-all-atoms"] = &typeid(void);375 TypeMap["unselect-all-molecules"] = &typeid(void);376 TypeMap["unselect-atom-by-id"] = &typeid(atom);377 TypeMap["unselect-molecule-by-id"] = &typeid(molecule);378 381 379 382 TypeEnumMap[&typeid(void)] = None; … … 454 457 MenuContainsActionMap.insert( pair<std::string, std::string> ("selection", "select-atom-by-id") ); 455 458 MenuContainsActionMap.insert( pair<std::string, std::string> ("selection", "select-molecule-by-id") ); 459 MenuContainsActionMap.insert( pair<std::string, std::string> ("selection", "select-molecules-atoms") ); 456 460 MenuContainsActionMap.insert( pair<std::string, std::string> ("selection", "unselect-all-atoms") ); 457 461 MenuContainsActionMap.insert( pair<std::string, std::string> ("selection", "unselect-all-molecules") ); … … 520 524 generic.insert("select-atom-by-id"); 521 525 generic.insert("select-molecule-by-id"); 526 generic.insert("select-molecules-atoms"); 522 527 generic.insert("set-basis"); 523 528 generic.insert("set-output"); … … 847 852 new SelectionClearAllMoleculesAction(); 848 853 new SelectionAllAtomsAction(); 854 new SelectionAllAtomsOfMoleculeAction(); 849 855 new SelectionAllMoleculesAction(); 850 856 new SelectionAtomByIdAction();
Note:
See TracChangeset
for help on using the changeset viewer.