source: src/Actions/TesselationAction/ConvexEnvelopeAction.def

Candidate_v1.6.1
Last change on this file was 5f7b95, checked in by Frederik Heber <heber@…>, 10 years ago

Convex-envelope has debug parameter DoOutputEveryStep.

  • Property mode set to 100644
File size: 1.7 KB
Line 
1/*
2 * ConvexEnvelopeAction.def
3 *
4 * Created on: Aug 26, 2010
5 * Author: heber
6 */
7
8// all includes and forward declarations necessary for non-integral types below
9class TesselationListClass;
10
11#include "Parameters/Validators/DummyValidator.hpp"
12#include "Parameters/Validators/Ops_Validator.hpp"
13#include "Parameters/Validators/Specific/BoxLengthValidator.hpp"
14#include "Parameters/Validators/Specific/FilePresentValidator.hpp"
15
16// i.e. there is an integer with variable name Z that can be found in
17// ValueStorage by the token "Z" -> first column: int, Z, "Z"
18// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
19#define paramtypes (double)(boost::filesystem::path)(boost::filesystem::path)(bool)
20#define paramtokens ("convex-envelope")("convex-file")("nonconvex-file")("DoOutputEveryStep")
21#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")
22#define paramdefaults (NOPARAM_DEFAULT)(NOPARAM_DEFAULT)(NOPARAM_DEFAULT)(PARAM_DEFAULT(0))
23#define paramreferences (SphereRadius)(filenameConvex)(filenameNonConvex)(DoOutputEveryStep)
24#define paramvalids \
25(BoxLengthValidator()) \
26(!FilePresentValidator()) \
27(!FilePresentValidator()) \
28(DummyValidator<bool>())
29
30#undef statetypes
31#undef statereferences
32
33// some defines for all the names, you may use ACTION, STATE and PARAMS
34#define CATEGORY Tesselation
35#define MENUNAME "tesselation"
36#define MENUPOSITION 1
37#define ACTIONNAME ConvexEnvelope
38#define TOKEN "convex-envelope"
39
40
41// finally the information stored in the ActionTrait specialization
42#define DESCRIPTION "create the convex envelope for a molecule"
43#define SHORTFORM "x"
Note: See TracBrowser for help on using the repository browser.