1 | /*
|
---|
2 | * DipoleCorrelationAction.def
|
---|
3 | *
|
---|
4 | * Created on: Aug 25, 2010
|
---|
5 | * Author: heber
|
---|
6 | */
|
---|
7 |
|
---|
8 | // all includes and forward declarations necessary for non-integral types below
|
---|
9 | #include <string>
|
---|
10 | #include <vector>
|
---|
11 |
|
---|
12 | #include "Parameters/Validators/DummyValidator.hpp"
|
---|
13 | #include "Parameters/Validators/Ops_Validator.hpp"
|
---|
14 | #include "Parameters/Validators/Specific/FilePresentValidator.hpp"
|
---|
15 | #include "Parameters/Validators/Specific/RotationAngleValidator.hpp"
|
---|
16 |
|
---|
17 | // i.e. there is an integer with variable name Z that can be found in
|
---|
18 | // ValueStorage by the token "Z" -> first column: int, Z, "Z"
|
---|
19 | // "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
|
---|
20 | #define paramtypes (double)(double)(double)(boost::filesystem::path)(boost::filesystem::path)(bool)
|
---|
21 | #define paramreferences (BinStart)(BinWidth)(BinEnd)(outputname)(binoutputname)(periodic)
|
---|
22 | #define paramtokens ("bin-start")("bin-width")("bin-end")("output-file")("bin-output-file")("periodic")
|
---|
23 | #define paramdescriptions ("start of the first bin")("width of the bins")("start of the last bin")("name of the output file")("name of the bin output file")("system is constraint to periodic boundary conditions")
|
---|
24 | #define paramdefaults (NOPARAM_DEFAULT)(PARAM_DEFAULT(0.5))(NOPARAM_DEFAULT)(NOPARAM_DEFAULT)(NOPARAM_DEFAULT)(PARAM_DEFAULT(false))
|
---|
25 | #define paramvalids \
|
---|
26 | (RotationAngleValidator()) \
|
---|
27 | (RotationAngleValidator()) \
|
---|
28 | (RotationAngleValidator()) \
|
---|
29 | (!FilePresentValidator()) \
|
---|
30 | (!FilePresentValidator()) \
|
---|
31 | (DummyValidator<bool>())
|
---|
32 |
|
---|
33 | // some defines for all the names, you may use ACTION, STATE and PARAMS
|
---|
34 | #define CATEGORY Analysis
|
---|
35 | #define MENUNAME "analysis"
|
---|
36 | #define MENUPOSITION 3
|
---|
37 | #define ACTIONNAME DipoleCorrelation
|
---|
38 | #define TOKEN "dipole-correlation"
|
---|
39 |
|
---|
40 | // finally the information stored in the ActionTrait specialization
|
---|
41 | #define DESCRIPTION "dipole orientation correlation analysis between molecules"
|
---|
42 | #undef SHORTFORM
|
---|