- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/AtomAction/TranslateAction.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 10 12 11 // i.e. there is an integer with variable name Z that can be found in 13 12 // 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) 20 17 21 18 #define statetypes (std::vector<atom*>) … … 24 21 // some defines for all the names, you may use ACTION, STATE and PARAMS 25 22 #define CATEGORY Atom 26 #define MENUNAME "atom"27 #define MENUPOSITION 428 23 #define ACTIONNAME Translate 29 24 #define TOKEN "translate-atoms" 30 25 31 32 // finally the information stored in the ActionTrait specialization33 #define DESCRIPTION "translate all selected atoms by given vector"34 #define SHORTFORM "t"
Note:
See TracChangeset
for help on using the changeset viewer.