Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/MapOfActions.cpp

    r4e4c4d reaf4ae  
    2626#include "CommandLineParser.hpp"
    2727#include "element.hpp"
    28 #include "log.hpp"
    29 #include "Matrix.hpp"
     28#include "Helpers/Log.hpp"
     29#include "LinearAlgebra/Matrix.hpp"
    3030#include "molecule.hpp"
    3131#include "periodentafel.hpp"
    32 #include "vector.hpp"
    33 #include "verbose.hpp"
     32#include "LinearAlgebra/Vector.hpp"
     33#include "Helpers/Verbose.hpp"
    3434
    3535#include "Actions/ActionRegistry.hpp"
     
    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.