Ignore:
File:
1 edited

Legend:

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

    r88afc9 rf63e41  
    77
    88// all includes and forward declarations necessary for non-integral types below
    9 #include "types.hpp"
    10 #include <vector>
    11 #include <utility>
    12 
    13 typedef std::vector<std::pair<atomId_t,atomId_t> > bondPairIds_t;
    149
    1510// i.e. there is an integer with variable name Z that can be found in
     
    2419#undef paramvalids
    2520
    26 #define statetypes (bondPairIds_t)
    27 #define statereferences (bondPairIds)
     21#define statetypes (atomId_t)(atomId_t)
     22#define statereferences (firstId)(secondId)
    2823
    2924// some defines for all the names, you may use ACTION, STATE and PARAMS
     
    3227#define MENUPOSITION 2
    3328#define ACTIONNAME Remove
    34 #define TOKEN "remove-bonds"
     29#define TOKEN "remove-bond"
    3530
    3631// finally the information stored in the ActionTrait specialization
    37 #define DESCRIPTION "remove all  bonds present between selected atoms"
     32#define DESCRIPTION "remove the bond in between two selected atoms"
    3833#undef SHORTFORM
Note: See TracChangeset for help on using the changeset viewer.