Changeset 770287 for src/Actions


Ignore:
Timestamp:
Aug 9, 2010, 12:57:20 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:
481e92
Parents:
2218d94
Message:

new selection: select-molecules-atoms.

Location:
src/Actions
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/Makefile.am

    r2218d94 r770287  
    118118SELECTIONACTIONSOURCE = \
    119119        SelectionAction/AllAtomsAction.cpp \
     120        SelectionAction/AllAtomsOfMoleculeAction.cpp \
    120121        SelectionAction/AllMoleculesAction.cpp \
    121122        SelectionAction/AtomByIdAction.cpp \
     
    129130SELECTIONACTIONHEADER = \
    130131        SelectionAction/AllAtomsAction.hpp \
     132        SelectionAction/AllAtomsOfMoleculeAction.hpp \
    131133        SelectionAction/AllMoleculesAction.hpp \
    132134        SelectionAction/AtomByIdAction.hpp \
  • src/Actions/MapOfActions.cpp

    r2218d94 r770287  
    6767#include "Actions/ParserAction/SaveXyzAction.hpp"
    6868#include "Actions/SelectionAction/AllAtomsAction.hpp"
     69#include "Actions/SelectionAction/AllAtomsOfMoleculeAction.hpp"
    6970#include "Actions/SelectionAction/AllMoleculesAction.hpp"
    7071#include "Actions/SelectionAction/AtomByIdAction.hpp"
     
    221222  DescriptionMap["select-atom-by-id"] = "select an atom by index";
    222223  DescriptionMap["select-molecule-by-id"] = "select a molecule by index";
     224  DescriptionMap["select-molecules-atoms"] = "select all atoms of a molecule";
    223225  DescriptionMap["set-basis"] = "set the name of the gaussian basis set for MPQC";
    224226  DescriptionMap["set-output"] = "specify output formats";
     
    336338  TypeMap["save-temperature"] = &typeid(std::string);
    337339  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);
    338345  TypeMap["set-basis"] = &typeid(std::string);
    339346  TypeMap["set-output"] = &typeid(std::vector<std::string>);
     
    342349  TypeMap["suspend-in-water"] = &typeid(double);
    343350  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);
    344355  TypeMap["verlet-integrate"] = &typeid(std::string);
    345356  TypeMap["verbose"] = &typeid(int);
     
    367378  TypeMap["periodic"] = &typeid(bool);
    368379  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);
    373380  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);
    378381
    379382  TypeEnumMap[&typeid(void)] = None;
     
    454457  MenuContainsActionMap.insert( pair<std::string, std::string> ("selection", "select-atom-by-id") );
    455458  MenuContainsActionMap.insert( pair<std::string, std::string> ("selection", "select-molecule-by-id") );
     459  MenuContainsActionMap.insert( pair<std::string, std::string> ("selection", "select-molecules-atoms") );
    456460  MenuContainsActionMap.insert( pair<std::string, std::string> ("selection", "unselect-all-atoms") );
    457461  MenuContainsActionMap.insert( pair<std::string, std::string> ("selection", "unselect-all-molecules") );
     
    520524  generic.insert("select-atom-by-id");
    521525  generic.insert("select-molecule-by-id");
     526  generic.insert("select-molecules-atoms");
    522527  generic.insert("set-basis");
    523528  generic.insert("set-output");
     
    847852  new SelectionClearAllMoleculesAction();
    848853  new SelectionAllAtomsAction();
     854  new SelectionAllAtomsOfMoleculeAction();
    849855  new SelectionAllMoleculesAction();
    850856  new SelectionAtomByIdAction();
Note: See TracChangeset for help on using the changeset viewer.