Ignore:
File:
1 edited

Legend:

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

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