| 1 |
|
#ifndef __MAKESTAMPS_H__ |
| 2 |
|
#define __MAKESTAMPS_H__ |
| 3 |
|
|
| 4 |
< |
#include <cstdlib> |
| 5 |
< |
#include <cstring> |
| 4 |
> |
#include <stdlib.h> |
| 5 |
> |
#include <string.h> |
| 6 |
|
|
| 7 |
|
#include "BASS_interface.h" |
| 8 |
|
#include "MoleculeStamp.hpp" |
| 10 |
|
#include "BondStamp.hpp" |
| 11 |
|
#include "BendStamp.hpp" |
| 12 |
|
#include "TorsionStamp.hpp" |
| 13 |
+ |
#include "RigidBodyStamp.hpp" |
| 14 |
|
|
| 15 |
|
class LinkedMolStamp{ |
| 16 |
|
|
| 49 |
|
int atomAssign( event* the_event ); |
| 50 |
|
int atomEnd( event* the_event ); |
| 51 |
|
|
| 52 |
+ |
int newRigidBody( event* the_event ); |
| 53 |
+ |
int rigidBodyPosition( event* the_event ); |
| 54 |
+ |
int rigidBodyOrientation( event* the_event ); |
| 55 |
+ |
int rigidBodyAssign( event* the_event ); |
| 56 |
+ |
int rigidBodyEnd( event* the_event ); |
| 57 |
+ |
|
| 58 |
|
int newBond( event* the_event ); |
| 59 |
|
int bondAssign( event* the_event ); |
| 60 |
|
int bondMember( event* the_event ); |
| 77 |
|
|
| 78 |
|
private: |
| 79 |
|
|
| 80 |
< |
static const int hash_size = 51; |
| 81 |
< |
static const int hash_shift = 4; |
| 80 |
> |
int hash_size; |
| 81 |
> |
int hash_shift; |
| 82 |
|
int hash( char* text ); |
| 83 |
|
LinkedMolStamp** my_mols; |
| 84 |
|
void addMolStamp( MoleculeStamp* the_stamp ); |
| 88 |
|
BondStamp* current_bond; |
| 89 |
|
BendStamp* current_bend; |
| 90 |
|
TorsionStamp* current_torsion; |
| 91 |
+ |
RigidBodyStamp* current_rigidbody; |
| 92 |
|
|
| 85 |
– |
|
| 86 |
– |
|
| 87 |
– |
|
| 88 |
– |
|
| 93 |
|
}; |
| 94 |
|
|
| 95 |
|
|