/* * AddAction.def * * Created on: Aug 26, 2010 * Author: heber */ // all includes and forward declarations necessary for non-integral types below #include "LinearAlgebra/BoxVector.hpp" #include "World.hpp" class element; // i.e. there is an integer with variable name Z that can be found in // ValueStorage by the token "Z" -> first column: int, Z, "Z" // "undefine" if no parameters are required #define paramtypes (const element *)(BoxVector) #define paramtokens (ACTION::NAME)("position") #define paramreferences (elemental)(position) #define statetypes (const atomId_t) #define statereferences (id) // some defines for all the names, you may use ACTION, STATE and PARAMS #define CATEGORY Atom #define ACTIONNAME Add #define TOKEN "add-atom"