Ignore:
File:
1 edited

Legend:

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

    reee966 re4afb4  
    1212// i.e. there is an integer with variable name Z that can be found in
    1313// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    14 // "undefine" if no parameters are required
    15 #define paramtypes (std::string) (Vector) (Vector) (bool)
    16 #define paramtokens (MoleculeFillVoidWithMoleculeAction::NAME) ("distances") ("lengths") ("DoRotate")
    17 #define paramreferences (fillername) (distances) (lengths) (DoRotate)
     14// "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
     15#define paramtypes (boost::filesystem::path)(Vector)(Vector)(bool)
     16#define paramtokens ("fill-void")("distances")("lengths")("DoRotate")
     17#define paramdescriptions ("name of xyz file of filler molecule")("list of three of distances in space, one for each axis direction")("list of three of lengths in space, one for each axis direction")("whether to rotate or not")
     18#undef paramdefaults
     19#define paramreferences (fillername)(distances)(lengths)(DoRotate)
    1820
    1921#undef statetypes
     
    2224// some defines for all the names, you may use ACTION, STATE and PARAMS
    2325#define CATEGORY Molecule
     26#define MENUNAME "molecule"
     27#define MENUPOSITION 5
    2428#define ACTIONNAME FillVoidWithMolecule
    2529#define TOKEN "fill-void"
    2630
     31
     32// finally the information stored in the ActionTrait specialization
     33#define DESCRIPTION "fill void space of box with a filler molecule"
     34#undef SHORTFORM
Note: See TracChangeset for help on using the changeset viewer.