Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/SelectionAction/Atoms/AllAtomsInsideCuboidAction.def

    r23d7ff r6ba9ba  
    1111class atom;
    1212
     13#include "Parameters/Validators/Specific/BoxVectorValidator.hpp"
     14#include "Parameters/Validators/Specific/RotationAngleValidator.hpp"
     15#include "Parameters/Validators/Specific/VectorPositiveComponentsValidator.hpp"
     16
    1317// i.e. there is an integer with variable name Z that can be found in
    1418// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     19// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1620#define paramtypes (Vector)(Vector)(double)(double)(double)
    1721#define paramtokens ("select-atoms-inside-cuboid")("position")("angle-x")("angle-y")("angle-z")
    1822#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 (NODEFAULT)(NODEFAULT)("0.")("0.")("0.")
     23#define paramdefaults (NOPARAM_DEFAULT)(NOPARAM_DEFAULT)(PARAM_DEFAULT(0.))(PARAM_DEFAULT(0.))(PARAM_DEFAULT(0.))
    2024#define paramreferences (extension)(position)(Xangle)(Yangle)(Zangle)
     25#define paramvalids \
     26(VectorPositiveComponentsValidator()) \
     27(BoxVectorValidator()) \
     28(RotationAngleValidator()) \
     29(RotationAngleValidator()) \
     30(RotationAngleValidator())
    2131
    2232#define statetypes (std::vector<atom*>)(Shape)
Note: See TracChangeset for help on using the changeset viewer.