Ignore:
File:
1 edited

Legend:

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

    r125002 r6ba9ba  
    1010class Shape;
    1111
     12#include "Parameters/Validators/Specific/BoxLengthValidator.hpp"
     13#include "Parameters/Validators/Specific/BoxVectorValidator.hpp"
     14
    1215// i.e. there is an integer with variable name Z that can be found in
    1316// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    14 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     17// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1518#define paramtypes (double)(Vector)
    1619#define paramtokens ("select-atoms-inside-sphere")("position")
     
    1821#undef paramdefaults
    1922#define paramreferences (radius)(position)
     23#define paramvalids \
     24(BoxLengthValidator()) \
     25(BoxVectorValidator())
    2026
    2127#define statetypes (std::vector<atom*>)(Shape)
Note: See TracChangeset for help on using the changeset viewer.