Ignore:
File:
1 edited

Legend:

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

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