Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/AtomAction/TranslateAction.def

    re4afb4 r1fd675  
    77
    88// all includes and forward declarations necessary for non-integral types below
    9 #include "Actions/Values.hpp"
    109#include "LinearAlgebra/Vector.hpp"
    1110
    1211// i.e. there is an integer with variable name Z that can be found in
    1312// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    14 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
    15 #define paramtypes (Vector)(bool)
    16 #define paramtokens ("translate-atoms")("periodic")
    17 #define paramdescriptions ("translation vector")("system is constraint to periodic boundary conditions")
    18 #define paramreferences (x)(periodic)
    19 #define paramdefaults (NODEFAULT)("0")
     13// "undefine" if no parameters are required
     14#define paramtypes (Vector) (bool)
     15#define paramtokens (AtomTranslateAction::NAME) ("periodic")
     16#define paramreferences (x) (periodic)
    2017
    2118#define statetypes (std::vector<atom*>)
     
    2421// some defines for all the names, you may use ACTION, STATE and PARAMS
    2522#define CATEGORY Atom
    26 #define MENUNAME "atom"
    27 #define MENUPOSITION 4
    2823#define ACTIONNAME Translate
    2924#define TOKEN "translate-atoms"
    3025
    31 
    32 // finally the information stored in the ActionTrait specialization
    33 #define DESCRIPTION "translate all selected atoms by given vector"
    34 #define SHORTFORM "t"
Note: See TracChangeset for help on using the changeset viewer.