- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/MoleculeAction/FillVoidWithMoleculeAction.def
reee966 re4afb4 12 12 // i.e. there is an integer with variable name Z that can be found in 13 13 // 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) 18 20 19 21 #undef statetypes … … 22 24 // some defines for all the names, you may use ACTION, STATE and PARAMS 23 25 #define CATEGORY Molecule 26 #define MENUNAME "molecule" 27 #define MENUPOSITION 5 24 28 #define ACTIONNAME FillVoidWithMolecule 25 29 #define TOKEN "fill-void" 26 30 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.