- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/WorldAction/RepeatBoxAction.def
r1fd675 re4afb4 7 7 8 8 // all includes and forward declarations necessary for non-integral types below 9 #include "Actions/Values.hpp" 9 10 #include "LinearAlgebra/Vector.hpp" 10 11 11 12 // i.e. there is an integer with variable name Z that can be found in 12 13 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 13 // "undefine" if no parameters are required 14 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 14 15 #define paramtypes (Vector) 15 #define paramtokens (WorldRepeatBoxAction::NAME) 16 #define paramtokens ("repeat-box") 17 #define paramdescriptions ("number of copies to create per axis") 18 #undef paramdefaults 16 19 #define paramreferences (Repeater) 17 20 … … 21 24 // some defines for all the names, you may use ACTION, STATE and PARAMS 22 25 #define CATEGORY World 26 #define MENUNAME "world" 27 #define MENUPOSITION 8 23 28 #define ACTIONNAME RepeatBox 24 29 #define TOKEN "repeat-box" 25 30 31 32 // finally the information stored in the ActionTrait specialization 33 #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.