Ignore:
File:
1 edited

Legend:

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

    r1fd675 re4afb4  
    1111// i.e. there is an integer with variable name Z that can be found in
    1212// ValueStorage by the token "Z" -> first column: int, Z, "Z"
    13 // "undefine" if no parameters are required
     13// "undefine" if no parameters are required, use (NODEFAULT) for each (undefined) default value
    1414#define paramtypes (double)
    15 #define paramtokens (MoleculeSuspendInWaterAction::NAME)
     15#define paramtokens ("suspend-in-water")
     16#define paramdescriptions ("desired final density")
     17#undef paramdefaults
    1618#define paramreferences (density)
    1719
     
    2123// some defines for all the names, you may use ACTION, STATE and PARAMS
    2224#define CATEGORY Molecule
     25#define MENUNAME "molecule"
     26#define MENUPOSITION 13
    2327#define ACTIONNAME SuspendInWater
    2428#define TOKEN "suspend-in-water"
    2529
     30
     31// finally the information stored in the ActionTrait specialization
     32#define DESCRIPTION "suspend the given molecule in water such that in the domain the mean density is as specified"
     33#define SHORTFORM "u"
Note: See TracChangeset for help on using the changeset viewer.