/* * AddEmptyBoundaryAction.def * * Created on: Aug 26, 2010 * Author: heber */ // all includes and forward declarations necessary for non-integral types below #include "Actions/Values.hpp" #include "LinearAlgebra/RealSpaceMatrix.hpp" #include "LinearAlgebra/Vector.hpp" #include "Parameters/Validators/Specific/VectorPositiveComponentsValidator.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 (Vector) #define paramtokens ("add-empty-boundary") #define paramdescriptions ("desired minimum distance to boundary for each axis over all atoms") #undef paramdefaults #define paramreferences (boundary) #define paramvalids \ (VectorPositiveComponentsValidator()) #define statetypes (std::string)(RealSpaceMatrix)(Vector) #define statereferences (undostring)(newdomain)(Min) // some defines for all the names, you may use ACTION, STATE and PARAMS #define CATEGORY World #define MENUNAME "world" #define MENUPOSITION 1 #define ACTIONNAME AddEmptyBoundary #define TOKEN "add-empty-boundary" // finally the information stored in the ActionTrait specialization #define DESCRIPTION "change box to add an empty boundary around all atoms" #define SHORTFORM "c"