| 1 |  | #ifndef __MOLECULESTAMP_H__ | 
| 2 |  | #define __MOLECULESTAMP_H__ | 
| 3 | < |  | 
| 3 | > | #include <vector> | 
| 4 | > | #include <utility> | 
| 5 |  | #include "AtomStamp.hpp" | 
| 6 |  | #include "BondStamp.hpp" | 
| 7 |  | #include "BendStamp.hpp" | 
| 10 |  | #include "CutoffGroupStamp.hpp" | 
| 11 |  | #include "LinkedAssign.hpp" | 
| 12 |  |  | 
| 13 | + | using namespace std; | 
| 14 |  | class MoleculeStamp{ | 
| 15 |  |  | 
| 16 |  | public: | 
| 44 |  | TorsionStamp* getTorsion( int index ) { return torsions[index]; } | 
| 45 |  | RigidBodyStamp* getRigidBody( int index ) { return rigidBodies[index]; } | 
| 46 |  | CutoffGroupStamp* getCutoffGroup( int index ) { return cutoffGroups[index]; } | 
| 47 | + |  | 
| 48 | + |  | 
| 49 | + | bool isBondInSameRigidBody(BondStamp*bond); | 
| 50 | + | bool isAtomInRigidBody(int atomIndex, int& whichRigidBody, int& consAtomIndex); | 
| 51 | + | vector<pair<int, int> > getJointAtoms(int rb1, int rb2); | 
| 52 |  |  | 
| 53 |  | int haveExtras( void ) { return have_extras; } | 
| 54 |  | LinkedAssign* getUnhandled( void ) { return unhandled; } |