/* * LinearInterpolationofTrajectoriesAction.def * * Created on: Aug 26, 2010 * Author: heber */ // all includes and forward declarations necessary for non-integral types below class MoleculeListClass; #include "Parameters/Validators/DummyValidator.hpp" #include "Parameters/Validators/GenericValidators.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 (unsigned int)(unsigned int)(unsigned int)(bool) #define paramtokens ("start-step")("interpolation-steps")("end-step")("id-mapping") #define paramdescriptions ("first or start step")("number of steps to interpolate in between start and end step")("last or end step")("whether the identity shall be used in mapping atoms onto atoms or not") #undef paramdefaults #define paramreferences (start)(interpolation_steps)(end)(IdMapping) #define paramvalids \ (DummyValidator< unsigned int >()) \ (NotZeroValidator< unsigned int >()) \ (DummyValidator< unsigned int >()) \ (DummyValidator< bool >()) #undef statetypes #undef statereferences // some defines for all the names, you may use ACTION, STATE and PARAMS #define CATEGORY Molecule #define MENUNAME "molecule" #define MENUPOSITION 6 #define ACTIONNAME LinearInterpolationofTrajectories #define TOKEN "linear-interpolation-of-trajectories" // finally the information stored in the ActionTrait specialization #define DESCRIPTION "linear interpolation in discrete steps between start and end position of a molecule" #undef SHORTFORM