- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/FillAction/SuspendInMoleculeAction.def
raa55d0 r2440ce 17 17 #include "Parameters/Validators/RangeValidator.hpp" 18 18 #include "Parameters/Validators/STLVectorValidator.hpp" 19 #include "Parameters/Validators/Ops_Validator.hpp" 19 20 #include "Parameters/Validators/Specific/BoxLengthValidator.hpp" 20 21 #include "Parameters/Validators/Specific/VectorZeroOneComponentsValidator.hpp" … … 25 26 #define paramtypes (double)(double)(double)(double)(bool) 26 27 #define paramtokens ("density")("min-distance")("random-atom-displacement")("random-molecule-displacement")("DoRotate") 27 #define paramdescriptions ("desired density for the total domain ")("minimum distance of water molecules to present atoms")("magnitude of random atom displacement")("magnitude of random molecule displacement")("whether to rotate or not")28 #define paramdescriptions ("desired density for the total domain, unequal 1.")("minimum distance of water molecules to present atoms")("magnitude of random atom displacement")("magnitude of random molecule displacement")("whether to rotate or not") 28 29 #define paramdefaults (PARAM_DEFAULT(1.))(PARAM_DEFAULT(1.))(PARAM_DEFAULT(0.))(PARAM_DEFAULT(0.))(PARAM_DEFAULT(false)) 29 30 #define paramreferences (density)(mindistance)(RandAtomDisplacement)(RandMoleculeDisplacement)(DoRotate) 30 31 #define paramvalids \ 31 (RangeValidator< double >(0., std::numeric_limits<double>::max())) \32 (RangeValidator< double >(0., 1. - std::numeric_limits<double>::epsilon()) || RangeValidator< double >(1. + std::numeric_limits<double>::epsilon(), std::numeric_limits<double>::max())) \ 32 33 (BoxLengthValidator()) \ 33 34 (BoxLengthValidator()) \
Note:
See TracChangeset
for help on using the changeset viewer.