Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/BondAction/BondAddAction.def

    r88afc9 rf63e41  
    88// all includes and forward declarations necessary for non-integral types below
    99#include "types.hpp"
    10 #include <vector>
    11 #include <utility>
    12 
    13 typedef std::vector<std::pair<atomId_t,atomId_t> > bondPairIds_t;
    1410
    1511// i.e. there is an integer with variable name Z that can be found in
     
    2420#undef paramvalids
    2521
    26 #define statetypes (bondPairIds_t)
    27 #define statereferences (bondPairIds)
     22#define statetypes (atomId_t)(atomId_t)
     23#define statereferences (firstId)(secondId)
    2824
    2925// some defines for all the names, you may use ACTION, STATE and PARAMS
     
    3228#define MENUPOSITION 1
    3329#define ACTIONNAME Add
    34 #define TOKEN "add-bonds"
     30#define TOKEN "add-bond"
    3531
    3632// finally the information stored in the ActionTrait specialization
    37 #define DESCRIPTION "add bonds in between any number of selected atoms"
     33#define DESCRIPTION "add bond in between two selected atoms"
    3834#undef SHORTFORM
Note: See TracChangeset for help on using the changeset viewer.