Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/MoleculeAction/RotateAroundSelfByAngleAction.def

    r9b8387 r6ba9ba  
    1010class Vector;
    1111
     12#include "Parameters/Validators/DummyValidator.hpp"
     13#include "Parameters/Validators/Specific/RotationAngleValidator.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 ("rotate-around-self")("axis")
     
    1821#undef paramdefaults
    1922#define paramreferences (angle)(Axis)
     23#define paramvalids \
     24(RotationAngleValidator()) \
     25(DummyValidator< Vector >())
    2026
    2127#define statetypes (std::vector<molecule*>)
Note: See TracChangeset for help on using the changeset viewer.