- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/WorldAction/ChangeBoxAction.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 "Box.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 (Box) 15 #define paramtokens (WorldChangeBoxAction::NAME) 16 #define paramtokens ("change-box") 17 #define paramdescriptions ("symmetrc matrix of the new simulation domain") 18 #undef paramdefaults 16 19 #define paramreferences (cell_size) 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 5 23 28 #define ACTIONNAME ChangeBox 24 29 #define TOKEN "change-box" 25 30 31 32 // finally the information stored in the ActionTrait specialization 33 #define DESCRIPTION "change the symmetrc matrix of the simulation domain" 34 #define SHORTFORM "B"
Note:
See TracChangeset
for help on using the changeset viewer.