Changeset eaf4ae


Ignore:
Timestamp:
Aug 6, 2010, 1:32:19 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:
4bb63c
Parents:
6e5084
git-author:
Frederik Heber <heber@…> (08/06/10 12:35:12)
git-committer:
Frederik Heber <heber@…> (08/06/10 13:32:19)
Message:

Added two new actions.

Location:
src/Actions
Files:
4 added
2 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/Makefile.am

    r6e5084 reaf4ae  
    8585  MoleculeAction/FillWithMoleculeAction.cpp \
    8686  MoleculeAction/LinearInterpolationofTrajectoriesAction.cpp \
     87  MoleculeAction/RotateAroundOriginByAngleAction.cpp \
     88  MoleculeAction/RotateAroundSelfByAngleAction.cpp \
    8789  MoleculeAction/RotateToPrincipalAxisSystemAction.cpp \
    8890  MoleculeAction/SaveAdjacencyAction.cpp \
     
    9799  MoleculeAction/FillWithMoleculeAction.hpp \
    98100  MoleculeAction/LinearInterpolationofTrajectoriesAction.hpp \
     101  MoleculeAction/RotateAroundOriginByAngleAction.hpp \
     102  MoleculeAction/RotateAroundSelfByAngleAction.hpp \
    99103  MoleculeAction/RotateToPrincipalAxisSystemAction.hpp \
    100104  MoleculeAction/SaveAdjacencyAction.hpp \
  • src/Actions/MapOfActions.cpp

    r6e5084 reaf4ae  
    5555#include "Actions/MoleculeAction/FillWithMoleculeAction.hpp"
    5656#include "Actions/MoleculeAction/LinearInterpolationofTrajectoriesAction.hpp"
     57#include "Actions/MoleculeAction/RotateAroundOriginByAngleAction.hpp"
     58#include "Actions/MoleculeAction/RotateAroundSelfByAngleAction.hpp"
    5759#include "Actions/MoleculeAction/RotateToPrincipalAxisSystemAction.hpp"
    5860#include "Actions/MoleculeAction/SaveAdjacencyAction.hpp"
     
    203205  DescriptionMap["remove-sphere"] = "remove sphere of atoms of around a specified atom";
    204206  DescriptionMap["repeat-box"] = "create periodic copies of the simulation box per axis";
     207  DescriptionMap["rotate-origin"] = "rotates molecules by a specific angle around origin";
     208  DescriptionMap["rotate-self"] = "rotates molecules by a specific angle around own center of gravity";
    205209  DescriptionMap["rotate-to-pas"] = "calculate the principal axis system of the specified molecule and rotate specified axis to align with main axis";
    206210  DescriptionMap["save-adjacency"] = "name of the adjacency file to write to";
     
    319323  TypeMap["remove-sphere"] = &typeid(double);
    320324  TypeMap["repeat-box"] = &typeid(VectorValue);
    321   TypeMap["rotate-to-pas"] = &typeid(molecule);
     325  TypeMap["rotate-origin"] = &typeid(double);
     326  TypeMap["rotate-self"] = &typeid(double);
     327  TypeMap["rotate-to-pas"] = &typeid(VectorValue);
    322328  TypeMap["save-adjacency"] = &typeid(std::string);
    323329  TypeMap["save-bonds"] = &typeid(std::string);
     
    423429  MenuContainsActionMap.insert( pair<std::string, std::string> ("molecule", "fill-molecule") );
    424430  MenuContainsActionMap.insert( pair<std::string, std::string> ("molecule", "linear-interpolate") );
     431  MenuContainsActionMap.insert( pair<std::string, std::string> ("molecule", "rotate-origin") );
     432  MenuContainsActionMap.insert( pair<std::string, std::string> ("molecule", "rotate-self") );
    425433  MenuContainsActionMap.insert( pair<std::string, std::string> ("molecule", "rotate-to-pas") );
    426434  MenuContainsActionMap.insert( pair<std::string, std::string> ("molecule", "save-adjacency") );
     
    487495  generic.insert("remove-sphere");
    488496  generic.insert("repeat-box");
     497  generic.insert("rotate-origin");
     498  generic.insert("rotate-self");
    489499  generic.insert("rotate-to-pas");
    490500        generic.insert("save-adjacency");
     
    807817  new MoleculeFillWithMoleculeAction();
    808818  new MoleculeLinearInterpolationofTrajectoriesAction();
     819  new MoleculeRotateAroundOriginByAngleAction();
     820  new MoleculeRotateAroundSelfByAngleAction();
    809821  new MoleculeRotateToPrincipalAxisSystemAction();
    810822  new MoleculeSaveAdjacencyAction();
Note: See TracChangeset for help on using the changeset viewer.