- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/WorldAction/RepeatBoxAction.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 value13 // "undefine" if no parameters are required 15 14 #define paramtypes (Vector) 16 #define paramtokens ("repeat-box") 17 #define paramdescriptions ("number of copies to create per axis") 18 #undef paramdefaults 15 #define paramtokens (WorldRepeatBoxAction::NAME) 19 16 #define paramreferences (Repeater) 20 17 … … 24 21 // some defines for all the names, you may use ACTION, STATE and PARAMS 25 22 #define CATEGORY World 26 #define MENUNAME "world"27 #define MENUPOSITION 828 23 #define ACTIONNAME RepeatBox 29 24 #define TOKEN "repeat-box" 30 25 31 32 // finally the information stored in the ActionTrait specialization33 #define DESCRIPTION "create periodic copies of the simulation box per axis"34 #define SHORTFORM "d"
Note:
See TracChangeset
for help on using the changeset viewer.