Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/AnalysisAction/PairCorrelationAction.def

    re4afb4 r6ba9ba  
    1111class element;
    1212
     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
    1322// i.e. there is an integer with variable name Z that can be found in
    1423// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     24// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1625#define paramtypes (std::vector<const element *>)(double)(double)(double)(boost::filesystem::path)(boost::filesystem::path)(bool)
    1726#define paramreferences (elements)(BinStart)(BinWidth)(BinEnd)(outputname)(binoutputname)(periodic)
    1827#define paramtokens ("elements")("bin-start")("bin-width")("bin-end")("output-file")("bin-output-file")("periodic")
    1928#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>())
    2138
    2239// some defines for all the names, you may use ACTION, STATE and PARAMS
Note: See TracChangeset for help on using the changeset viewer.