- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/AnalysisAction/PairCorrelationAction.def
re4afb4 r6ba9ba 11 11 class element; 12 12 13 #include "Parameters/Validators/DummyValidator.hpp" 14 #include "Parameters/Validators/Ops_Validator.hpp" 15 #include "Parameters/Validators/STLVectorValidator.hpp" 16 #include "Parameters/Validators/Specific/BoxLengthValidator.hpp" 17 #include "Parameters/Validators/Specific/ElementValidator.hpp" 18 #include "Parameters/Validators/Specific/FilePresentValidator.hpp" 19 20 #include "Parameters/Validators/DummyValidator.hpp" 21 13 22 // i.e. there is an integer with variable name Z that can be found in 14 23 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 15 // "undefine" if no parameters are required, use (NO DEFAULT) for each (undefined) default value24 // "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value 16 25 #define paramtypes (std::vector<const element *>)(double)(double)(double)(boost::filesystem::path)(boost::filesystem::path)(bool) 17 26 #define paramreferences (elements)(BinStart)(BinWidth)(BinEnd)(outputname)(binoutputname)(periodic) 18 27 #define paramtokens ("elements")("bin-start")("bin-width")("bin-end")("output-file")("bin-output-file")("periodic") 19 28 #define paramdescriptions ("set of elements")("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") 20 #define paramdefaults (NODEFAULT)(NODEFAULT)("0.5")(NODEFAULT)(NODEFAULT)(NODEFAULT)("0") 29 #define paramdefaults (NOPARAM_DEFAULT)(NOPARAM_DEFAULT)(PARAM_DEFAULT(0.5))(NOPARAM_DEFAULT)(NOPARAM_DEFAULT)(NOPARAM_DEFAULT)(PARAM_DEFAULT(false)) 30 #define paramvalids \ 31 (STLVectorValidator< std::vector<const element *> >(2,2, ElementValidator())) \ 32 (BoxLengthValidator()) \ 33 (BoxLengthValidator()) \ 34 (BoxLengthValidator()) \ 35 (!FilePresentValidator()) \ 36 (!FilePresentValidator()) \ 37 (DummyValidator<bool>()) 21 38 22 39 // some defines for all the names, you may use ACTION, STATE and PARAMS
Note:
See TracChangeset
for help on using the changeset viewer.