- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/MoleculeAction/RotateToPrincipalAxisSystemAction.def
re4afb4 r1fd675 7 7 8 8 // all includes and forward declarations necessary for non-integral types below 9 #include "Actions/Values.hpp"10 9 #include "LinearAlgebra/Vector.hpp" 11 12 10 class MoleculeListClass; 13 11 14 12 // i.e. there is an integer with variable name Z that can be found in 15 13 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 16 // "undefine" if no parameters are required , use (NODEFAULT) for each (undefined) default value14 // "undefine" if no parameters are required 17 15 #define paramtypes (Vector) 18 #define paramtokens ("rotate-to-pas") 19 #define paramdescriptions ("vector to which to align the biggest eigenvector with") 20 #undef paramdefaults 16 #define paramtokens (MoleculeRotateToPrincipalAxisSystemAction::NAME) 21 17 #define paramreferences (Axis) 22 18 … … 26 22 // some defines for all the names, you may use ACTION, STATE and PARAMS 27 23 #define CATEGORY Molecule 28 #define MENUNAME "molecule"29 #define MENUPOSITION 930 24 #define ACTIONNAME RotateToPrincipalAxisSystem 31 25 #define TOKEN "rotate-to-pas" 32 26 33 34 // finally the information stored in the ActionTrait specialization35 #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.