| [1fd675] | 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 | 
|---|
|  | 9 | class TesselationListClass; | 
|---|
|  | 10 |  | 
|---|
| [5f7b95] | 11 | #include "Parameters/Validators/DummyValidator.hpp" | 
|---|
| [23958d] | 12 | #include "Parameters/Validators/Ops_Validator.hpp" | 
|---|
| [bcb831] | 13 | #include "Parameters/Validators/Specific/BoxLengthValidator.hpp" | 
|---|
| [23958d] | 14 | #include "Parameters/Validators/Specific/FilePresentValidator.hpp" | 
|---|
| [649aaa] | 15 |  | 
|---|
| [1fd675] | 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" | 
|---|
| [6ba9ba] | 18 | // "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value | 
|---|
| [5f7b95] | 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) | 
|---|
| [23958d] | 24 | #define paramvalids \ | 
|---|
| [bcb831] | 25 | (BoxLengthValidator()) \ | 
|---|
| [23958d] | 26 | (!FilePresentValidator()) \ | 
|---|
| [5f7b95] | 27 | (!FilePresentValidator()) \ | 
|---|
|  | 28 | (DummyValidator<bool>()) | 
|---|
| [1fd675] | 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 | 
|---|
| [052bfd8] | 35 | #define MENUNAME "tesselation" | 
|---|
|  | 36 | #define MENUPOSITION 1 | 
|---|
| [1fd675] | 37 | #define ACTIONNAME ConvexEnvelope | 
|---|
|  | 38 | #define TOKEN "convex-envelope" | 
|---|
|  | 39 |  | 
|---|
| [24fbf3] | 40 |  | 
|---|
|  | 41 | // finally the information stored in the ActionTrait specialization | 
|---|
|  | 42 | #define DESCRIPTION "create the convex envelope for a molecule" | 
|---|
|  | 43 | #define SHORTFORM "x" | 
|---|