/* * ConvexEnvelopeAction.def * * Created on: Aug 26, 2010 * Author: heber */ // all includes and forward declarations necessary for non-integral types below class TesselationListClass; #include "Parameters/Validators/DummyValidator.hpp" #include "Parameters/Validators/Ops_Validator.hpp" #include "Parameters/Validators/Specific/BoxLengthValidator.hpp" #include "Parameters/Validators/Specific/FilePresentValidator.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)(boost::filesystem::path)(boost::filesystem::path)(bool) #define paramtokens ("convex-envelope")("convex-file")("nonconvex-file")("DoOutputEveryStep") #define paramdescriptions ("radius of the rolling sphere")("filename of the convex envelope")("filename of the non-convex envelope")("whether to write an extra file for debugging of each convexization step") #define paramdefaults (NOPARAM_DEFAULT)(NOPARAM_DEFAULT)(NOPARAM_DEFAULT)(PARAM_DEFAULT(0)) #define paramreferences (SphereRadius)(filenameConvex)(filenameNonConvex)(DoOutputEveryStep) #define paramvalids \ (BoxLengthValidator()) \ (!FilePresentValidator()) \ (!FilePresentValidator()) \ (DummyValidator()) #undef statetypes #undef statereferences // some defines for all the names, you may use ACTION, STATE and PARAMS #define CATEGORY Tesselation #define MENUNAME "tesselation" #define MENUPOSITION 1 #define ACTIONNAME ConvexEnvelope #define TOKEN "convex-envelope" // finally the information stored in the ActionTrait specialization #define DESCRIPTION "create the convex envelope for a molecule" #define SHORTFORM "x"