Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/AtomAction/RotateAroundOriginByAngleAction.def

    r967b3c r6ba9ba  
    99#include "LinearAlgebra/Vector.hpp"
    1010
     11#include "Parameters/Validators/DummyValidator.hpp"
     12#include "Parameters/Validators/Specific/RotationAngleValidator.hpp"
     13
    1114// i.e. there is an integer with variable name Z that can be found in
    1215// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    13 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     16// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
    1417#define paramtypes (double)(Vector)
    1518#define paramtokens ("rotate-around-origin")("position")
     
    1720#undef paramdefaults
    1821#define paramreferences (angle)(Axis)
     22#define paramvalids \
     23(RotationAngleValidator())\
     24(DummyValidator< Vector> ())
    1925
    2026#define statetypes (std::vector<atom*>)
Note: See TracChangeset for help on using the changeset viewer.