/* * TranslateToOriginAction.def * * Created on: Aug 14, 2014 * Author: heber */ // all includes and forward declarations necessary for non-integral types below #include "LinearAlgebra/Vector.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 #undef paramtypes #undef paramtokens #undef paramdescriptions #undef paramreferences #undef paramdefaults #undef paramvalids #define statetypes (Vector) #define statereferences (Translation) // some defines for all the names, you may use ACTION, STATE and PARAMS #define CATEGORY Atom #define MENUNAME "atom" #define MENUPOSITION 5 #define ACTIONNAME TranslateToOrigin #define TOKEN "translate-to-origin" // finally the information stored in the ActionTrait specialization #define DESCRIPTION "translate origin of domain to weighted center of all selected atoms" #undef SHORTFORM