Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/WorldAction/RepeatBoxAction.def

    r1fd675 re4afb4  
    77
    88// all includes and forward declarations necessary for non-integral types below
     9#include "Actions/Values.hpp"
    910#include "LinearAlgebra/Vector.hpp"
    1011
    1112// i.e. there is an integer with variable name Z that can be found in
    1213// 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
    1415#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
    1619#define paramreferences (Repeater)
    1720
     
    2124// some defines for all the names, you may use ACTION, STATE and PARAMS
    2225#define CATEGORY World
     26#define MENUNAME "world"
     27#define MENUPOSITION 8
    2328#define ACTIONNAME RepeatBox
    2429#define TOKEN "repeat-box"
    2530
     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.