- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/MoleculeAction/FillVoidWithMoleculeAction.def
rd6f886 r6ba9ba 8 8 // all includes and forward declarations necessary for non-integral types below 9 9 #include "LinearAlgebra/Vector.hpp" 10 class MoleculeListClass; 10 11 #include "LinearAlgebra/defs.hpp" 12 #include "Parameters/Validators/DummyValidator.hpp" 13 #include "Parameters/Validators/Ops_Validator.hpp" 14 #include "Parameters/Validators/Specific/BoxLengthValidator.hpp" 15 #include "Parameters/Validators/Specific/BoxVectorValidator.hpp" 16 #include "Parameters/Validators/Specific/FilePresentValidator.hpp" 17 #include "Parameters/Validators/Specific/ParserFileValidator.hpp" 11 18 12 19 // i.e. there is an integer with variable name Z that can be found in 13 20 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 14 // "undefine" if no parameters are required, use (NO DEFAULT) for each (undefined) default value21 // "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value 15 22 #define paramtypes (boost::filesystem::path)(Vector)(double)(double)(double)(double)(bool) 16 23 #define paramtokens ("fill-void")("distances")("distance-to-molecule")("random-atom-displacement")("random-molecule-displacement")("distance-to-boundary")("DoRotate") 17 24 #define paramdescriptions ("name of xyz file of filler molecule")("list of three of distances in space, one for each axis direction")("minimum distance to present molecules")("magnitude of random atom displacement")("magnitude of random molecule displacement")("minimum distance to boundary")("whether to rotate or not") 18 #define paramdefaults (NO DEFAULT)(NODEFAULT)("0.")("0.")("0.")("0.")("0")25 #define paramdefaults (NOPARAM_DEFAULT)(NOPARAM_DEFAULT)(PARAM_DEFAULT(0.))(PARAM_DEFAULT(0.))(PARAM_DEFAULT(0.))(PARAM_DEFAULT(0.))(PARAM_DEFAULT(false)) 19 26 #define paramreferences (fillername)(distances)(boundary)(RandAtomDisplacement)(RandMoleculeDisplacement)(MinDistance)(DoRotate) 27 #define paramvalids \ 28 (FilePresentValidator() && ParserFileValidator()) \ 29 (BoxVectorValidator()) \ 30 (BoxLengthValidator()) \ 31 (BoxLengthValidator()) \ 32 (BoxLengthValidator()) \ 33 (BoxLengthValidator()) \ 34 (DummyValidator< bool >()) 20 35 21 36 #define statetypes (std::vector<molecule *>)
Note:
See TracChangeset
for help on using the changeset viewer.