- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/AtomAction/AddAction.def
r8bb05e re4afb4 13 13 // i.e. there is an integer with variable name Z that can be found in 14 14 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 15 // "undefine" if no parameters are required 15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 16 16 #define paramtypes (const element *)(BoxVector) 17 #define paramtokens (ACTION::NAME)("position") 17 #define paramtokens ("add-atom")("domain-position") 18 #define paramdescriptions ("element of new atom")("position within current domain") 18 19 #define paramreferences (elemental)(position) 20 #define paramdefaults (NODEFAULT)(NODEFAULT) 19 21 20 22 #define statetypes (const atomId_t) … … 23 25 // some defines for all the names, you may use ACTION, STATE and PARAMS 24 26 #define CATEGORY Atom 27 #define MENUNAME "atom" 28 #define MENUPOSITION 1 25 29 #define ACTIONNAME Add 26 30 #define TOKEN "add-atom" 31 32 // finally the information stored in the ActionTrait specialization 33 #define DESCRIPTION "add atom of specified element" 34 #define SHORTFORM "a"
Note:
See TracChangeset
for help on using the changeset viewer.