- Timestamp:
- May 19, 2021, 7:06:29 PM (4 years ago)
- Branches:
- Candidate_v1.7.0, stable
- Children:
- 20fc6f
- Parents:
- c98620
- git-author:
- Frederik Heber <frederik.heber@…> (05/19/21 19:03:24)
- git-committer:
- Frederik Heber <frederik.heber@…> (05/19/21 19:06:29)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/PotentialAction/GeneratePotentialsAction.def
rc98620 r9b0dcd 9 9 #include "Parameters/Validators/STLVectorValidator.hpp" 10 10 #include "Parameters/Validators/Specific/ElementValidator.hpp" 11 #include "Parameters/Validators/Specific/PotentialTypeValidator.hpp" 12 #include <string> 13 #include <vector> 11 14 12 15 // i.e. there is an integer with variable name Z that can be found in 13 16 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 14 17 // "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value 15 #define paramtypes (std::vector<const element *>) 16 #define paramtokens ("fragment-charges") 17 #define paramdescriptions ("charges specifying the fragment") 18 #define paramdefaults (NOPARAM_DEFAULT) 19 #define paramreferences (fragment) 18 #define paramtypes (std::vector<const element *>)(std::vector<std::string>) 19 #define paramtokens ("fragment-charges")("potential-list") 20 #define paramdescriptions ("charges specifying the fragment")("list of potentials to generate or empty for all") 21 #define paramdefaults (NOPARAM_DEFAULT)(NOPARAM_DEFAULT) 22 #define paramreferences (fragment)(potential_list) 20 23 #define paramvalids \ 21 (STLVectorValidator< std::vector<const element *> >(0,99, ElementValidator())) 24 (STLVectorValidator< std::vector<const element *> >(0,99, ElementValidator())) \ 25 (STLVectorValidator< std::vector<std::string> >(0,99, PotentialTypeValidator())) 22 26 23 27 #undef statetypes
Note:
See TracChangeset
for help on using the changeset viewer.
