Ignore:
File:
1 edited

Legend:

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

    r1fd675 re4afb4  
    1212// i.e. there is an integer with variable name Z that can be found in
    1313// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    14 // "undefine" if no parameters are required
    15 #define paramtypes (double) (Vector)
    16 #define paramtokens (MoleculeRotateAroundSelfByAngleAction::NAME) ("position")
    17 #define paramreferences (angle) (Axis)
     14// "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     15#define paramtypes (double)(Vector)
     16#define paramtokens ("rotate-self")("position")
     17#define paramdescriptions ("rotation angle")("position in R^3 space")
     18#undef paramdefaults
     19#define paramreferences (angle)(Axis)
    1820
    1921#define statetypes (molecule * const)
     
    2224// some defines for all the names, you may use ACTION, STATE and PARAMS
    2325#define CATEGORY Molecule
     26#define MENUNAME "molecule"
     27#define MENUPOSITION 8
    2428#define ACTIONNAME RotateAroundSelfByAngle
    2529#define TOKEN "rotate-self"
    2630
     31
     32// finally the information stored in the ActionTrait specialization
     33#define DESCRIPTION "rotates molecules by a specific angle around own center of gravity"
     34#undef SHORTFORM
Note: See TracChangeset for help on using the changeset viewer.