Ignore:
File:
1 edited

Legend:

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

    re4afb4 r6ba9ba  
    77
    88// all includes and forward declarations necessary for non-integral types below
    9 class MoleculeListClass;
     9#include <vector>
     10
     11#include "Parameters/Validators/Specific/BoxVectorValidator.hpp"
    1012
    1113// i.e. there is an integer with variable name Z that can be found in
    1214// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    13 // "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
    14 #define paramtypes (const molecule *)(Vector)
    15 #define paramtokens ("copy-molecule")("position")
    16 #define paramdescriptions ("molecule to copy")("position in R^3 space")
     15// "undefine" if no parameters are required, use (NOPARAM_DEFAULT) for each (undefined) default value
     16#define paramtypes (Vector)
     17#define paramtokens ("position")
     18#define paramdescriptions ("position in R^3 space")
    1719#undef paramdefaults
    18 #define paramreferences (mol)(position)
     20#define paramreferences (position)
     21#define paramvalids \
     22(BoxVectorValidator())
    1923
    20 #define statetypes (molecule *)
    21 #define statereferences (copy)
     24#define statetypes (const std::vector<moleculeId_t>)
     25#define statereferences (copies)
    2226
    2327// some defines for all the names, you may use ACTION, STATE and PARAMS
Note: See TracChangeset for help on using the changeset viewer.