Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/MoleculeAction/RotateToPrincipalAxisSystemAction.def

    r1fd675 re4afb4  
    77
    88// all includes and forward declarations necessary for non-integral types below
     9#include "Actions/Values.hpp"
    910#include "LinearAlgebra/Vector.hpp"
     11
    1012class MoleculeListClass;
    1113
    1214// i.e. there is an integer with variable name Z that can be found in
    1315// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    14 // "undefine" if no parameters are required
     16// "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
    1517#define paramtypes (Vector)
    16 #define paramtokens (MoleculeRotateToPrincipalAxisSystemAction::NAME)
     18#define paramtokens ("rotate-to-pas")
     19#define paramdescriptions ("vector to which to align the biggest eigenvector with")
     20#undef paramdefaults
    1721#define paramreferences (Axis)
    1822
     
    2226// some defines for all the names, you may use ACTION, STATE and PARAMS
    2327#define CATEGORY Molecule
     28#define MENUNAME "molecule"
     29#define MENUPOSITION 9
    2430#define ACTIONNAME RotateToPrincipalAxisSystem
    2531#define TOKEN "rotate-to-pas"
    2632
     33
     34// finally the information stored in the ActionTrait specialization
     35#define DESCRIPTION "calculate the principal axis system of the specified molecule and rotate specified axis to align with main axis"
     36#define SHORTFORM "m"
Note: See TracChangeset for help on using the changeset viewer.