- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/SelectionAction/Atoms/AllAtomsInsideCuboidAction.def
r23d7ff r6ba9ba 11 11 class atom; 12 12 13 #include "Parameters/Validators/Specific/BoxVectorValidator.hpp" 14 #include "Parameters/Validators/Specific/RotationAngleValidator.hpp" 15 #include "Parameters/Validators/Specific/VectorPositiveComponentsValidator.hpp" 16 13 17 // i.e. there is an integer with variable name Z that can be found in 14 18 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 15 // "undefine" if no parameters are required, use (NO DEFAULT) for each (undefined) default value19 // "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value 16 20 #define paramtypes (Vector)(Vector)(double)(double)(double) 17 21 #define paramtokens ("select-atoms-inside-cuboid")("position")("angle-x")("angle-y")("angle-z") 18 22 #define paramdescriptions ("dimensions of cuboid")("position in R^3 space")("angle of a rotation around x axis")("angle of a rotation around y axis")("angle of a rotation around z axis") 19 #define paramdefaults (NO DEFAULT)(NODEFAULT)("0.")("0.")("0.")23 #define paramdefaults (NOPARAM_DEFAULT)(NOPARAM_DEFAULT)(PARAM_DEFAULT(0.))(PARAM_DEFAULT(0.))(PARAM_DEFAULT(0.)) 20 24 #define paramreferences (extension)(position)(Xangle)(Yangle)(Zangle) 25 #define paramvalids \ 26 (VectorPositiveComponentsValidator()) \ 27 (BoxVectorValidator()) \ 28 (RotationAngleValidator()) \ 29 (RotationAngleValidator()) \ 30 (RotationAngleValidator()) 21 31 22 32 #define statetypes (std::vector<atom*>)(Shape)
Note:
See TracChangeset
for help on using the changeset viewer.