/*
 * StretchBondAction.def
 *
 *  Created on: Mar 22, 2017
 *      Author: heber
 */

// all includes and forward declarations necessary for non-integral types below

#include "Parameters/Validators/DummyValidator.hpp"
#include "Parameters/Validators/Specific/RotationAngleValidator.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)(bool)
#define paramtokens ("rotate-around-bond")("bondside")
#define paramdescriptions ("relative angle to rotate about")("which side of the bond to rotate")
#define paramdefaults (NOPARAM_DEFAULT)(PARAM_DEFAULT(1))
#define paramreferences (angle)(bondside)
#define paramvalids \
(RotationAngleValidator()) \
(DummyValidator<bool>())

#define statetypes (std::vector<AtomicInfo>)(const Vector)(const Vector)(molecule *)
#define statereferences (UndoInfo)(OffsetVector)(NormalVector)(mol)

// some defines for all the names, you may use ACTION, STATE and PARAMS
#define CATEGORY Molecule
#define MENUNAME "molecule"
#define MENUPOSITION 11
#define ACTIONNAME RotateAroundBond
#define TOKEN "rotate-around-bond"


// finally the information stored in the ActionTrait specialization
#define DESCRIPTION "rotate a part of a molecule around a specified bond by a given relative angle"
#undef SHORTFORM
