- Timestamp:
- Apr 23, 2021, 8:31:23 PM (5 years ago)
- Branches:
- Candidate_v1.7.0, stable
- Children:
- cbbb6a
- Parents:
- b56827
- git-author:
- Frederik Heber <frederik.heber@…> (04/22/19 23:01:18)
- git-committer:
- Frederik Heber <frederik.heber@…> (04/23/21 20:31:23)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/FragmentationAction/StoreSaturatedFragmentAction.def
rb56827 r26062f 11 11 12 12 #include "Parameters/Validators/DummyValidator.hpp" 13 #include "Parameters/Validators/RangeValidator.hpp" 13 14 #include "Parameters/Validators/STLVectorValidator.hpp" 15 #include "Parameters/Validators/Specific/BoxLengthValidator.hpp" 14 16 #include "Parameters/Validators/Specific/ParserTypeValidator.hpp" 15 17 … … 17 19 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 18 20 // "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value 19 #define paramtypes (std::string)(bool)(std::vector<std::string>) 20 #define paramtokens ("store-saturated-fragment")("DoSaturate")("output-types") 21 #define paramdescriptions ("name of fragment file")("do saturate dangling bonds with hydrogen")("type(s) of parsers that output fragment config files") 22 #define paramdefaults (NOPARAM_DEFAULT)(PARAM_DEFAULT(true))(PARAM_DEFAULT(std::vector<std::string>())) 23 #define paramreferences (prefix)(DoSaturation)(types) 21 #define paramtypes (std::string)(bool)(std::vector<std::string>)(double)(unsigned int) 22 #define paramtokens ("store-saturated-fragment")("DoSaturate")("output-types")("max-meshwidth")("grid-level") 23 #define paramdescriptions ("name of fragment file")("do saturate dangling bonds with hydrogen")("type(s) of parsers that output fragment config files")("maximum allowed mesh width, i.e. discrete points may be at most that far apart on the fragment grids")("resolution of density sampling multigrid") 24 #define paramdefaults (NOPARAM_DEFAULT)(PARAM_DEFAULT(true))(PARAM_DEFAULT(std::vector<std::string>()))(PARAM_DEFAULT(0.))(PARAM_DEFAULT(5)) 25 #define paramreferences (prefix)(DoSaturation)(types)(max_meshwidth)(level) 24 26 #define paramvalids \ 25 27 (DummyValidator< std::string >()) \ 26 28 (DummyValidator< bool >()) \ 27 (STLVectorValidator< std::vector<std::string> >(1, 10, ParserTypeValidator())) 29 (STLVectorValidator< std::vector<std::string> >(0, 10, ParserTypeValidator())) \ 30 (BoxLengthValidator()) \ 31 (RangeValidator< unsigned int >(1, 10)) 28 32 29 33 #undef statetypes
Note:
See TracChangeset
for help on using the changeset viewer.
