- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/AtomAction/AddAction.def
re4afb4 r6ba9ba 7 7 8 8 // all includes and forward declarations necessary for non-integral types below 9 #include "LinearAlgebra/ BoxVector.hpp"9 #include "LinearAlgebra/Vector.hpp" 10 10 #include "World.hpp" 11 11 class element; 12 12 13 #include "Parameters/Validators/Specific/BoxVectorValidator.hpp" 14 #include "Parameters/Validators/Specific/ElementValidator.hpp" 15 13 16 // i.e. there is an integer with variable name Z that can be found in 14 17 // ValueStorage by the token "Z" -> first column: int, Z, "Z" 15 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value 16 #define paramtypes (const element *)(BoxVector) 18 // "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value 19 //#define paramtypes (const element *)(BoxVector) TODO: use a validator 20 #define paramtypes (const element *)(Vector) 17 21 #define paramtokens ("add-atom")("domain-position") 18 22 #define paramdescriptions ("element of new atom")("position within current domain") 19 23 #define paramreferences (elemental)(position) 20 #define paramdefaults (NODEFAULT)(NODEFAULT) 24 #define paramdefaults (NOPARAM_DEFAULT)(NOPARAM_DEFAULT) 25 #define paramvalids \ 26 (ElementValidator()) \ 27 (BoxVectorValidator()) 21 28 22 29 #define statetypes (const atomId_t)
Note:
See TracChangeset
for help on using the changeset viewer.