/* * RandomPerturbationAction.def * * Created on: Apr 02, 2017 * Author: heber */ // all includes and forward declarations necessary for non-integral types below #include "Parameters/Validators/DummyValidator.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 (double) #define paramtokens ("random-perturbation") #define paramdescriptions ("maximum strength of random perturbation") #define paramdefaults (NOPARAM_DEFAULTS()) #define paramreferences (noise) #define paramvalids \ (DummyValidator()) #define statetypes (std::vector)(std::vector) #define statereferences (Walkers)(NewWalkers) // some defines for all the names, you may use ACTION, STATE and PARAMS #define CATEGORY Atom #define MENUNAME "atom" #define MENUPOSITION 9 #define ACTIONNAME RandomPerturbation #define TOKEN "random-perturbation" // finally the information stored in the ActionTrait specialization #define DESCRIPTION "randomly perturb the position of all selected atoms up to a given strength" #undef SHORTFORM