/* * SetBoundaryConditionsAction.def * * Created on: Jan 2, 2012 * Author: heber */ // all includes and forward declarations necessary for non-integral types below #include #include #include "Parameters/Validators/STLVectorValidator.hpp" #include "Parameters/Validators/Specific/BoundaryConditionValidator.hpp" // 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, use (NOPARAM_DEFAULT) for each (undefined) default value #define paramtypes (std::vector< std::string >) #define paramtokens ("set-boundary-conditions") #define paramdescriptions ("new boundary conditions as list of three strings, e.g. 'Wrap Bounce Ignore'") #undef paramdefaults #define paramreferences (newconditions) #define paramvalids \ (STLVectorValidator< std::vector< std::string > >(NDIM, NDIM, BoundaryConditionValidator())) #define statetypes (std::string) #define statereferences (undostate) // some defines for all the names, you may use ACTION, STATE and PARAMS #define CATEGORY World #define MENUNAME "world" #define MENUPOSITION 10 #define ACTIONNAME SetBoundaryConditions #define TOKEN "set-boundary-conditions" // finally the information stored in the ActionTrait specialization #define DESCRIPTION "set the boundary conditions of the simulation domain" #undef SHORTFORM