- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/AnalysisAction/PairCorrelationAction.def
r6ba9ba re4afb4 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 22 13 // i.e. there is an integer with variable name Z that can be found in 23 14 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 24 // "undefine" if no parameters are required, use (NO PARAM_DEFAULT) for each (undefined) default value15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 25 16 #define paramtypes (std::vector<const element *>)(double)(double)(double)(boost::filesystem::path)(boost::filesystem::path)(bool) 26 17 #define paramreferences (elements)(BinStart)(BinWidth)(BinEnd)(outputname)(binoutputname)(periodic) 27 18 #define paramtokens ("elements")("bin-start")("bin-width")("bin-end")("output-file")("bin-output-file")("periodic") 28 19 #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") 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>()) 20 #define paramdefaults (NODEFAULT)(NODEFAULT)("0.5")(NODEFAULT)(NODEFAULT)(NODEFAULT)("0") 38 21 39 22 // some defines for all the names, you may use ACTION, STATE and PARAMS
Note:
See TracChangeset
for help on using the changeset viewer.