4 |
|
#include "Atom.hpp" |
5 |
|
#include "SRI.hpp" |
6 |
|
#include "MoleculeStamp.hpp" |
7 |
+ |
#include "Exclude.hpp" |
8 |
|
|
9 |
|
typedef struct{ |
10 |
|
|
12 |
|
int nAtoms; // the number of atoms in the molecule |
13 |
|
int nBonds; // ... .. .. . .bonds .. .. . . . . |
14 |
|
int nBends; // . . . . .. . .bends . . . . .. . |
15 |
< |
int nTorsions // .. . . .. . . torsions . . .. . . |
16 |
< |
int nOriented; // .. . . . .. . oreineted atoms . . . |
15 |
> |
int nTorsions; // .. . . .. . . torsions . . .. . . |
16 |
> |
int nOriented; // .. . . . .. . oriented atoms . . . |
17 |
|
|
18 |
< |
|
19 |
< |
Atom** myAtoms; // the array of atoms |
18 |
> |
Atom** myAtoms; // the array of atoms |
19 |
> |
Exclude** myExcludes;// the array of Excluded pairs |
20 |
|
Bond** myBonds; // arrays of all the short range interactions |
21 |
|
Bend** myBends; |
22 |
|
Torsion** myTorsions; |
38 |
|
int getEndAtom( void ) { return endAtom; } |
39 |
|
int getStampID( void ) { return stampID; } |
40 |
|
|
40 |
– |
void setNMembers( int info ) { nMembers = info; } |
41 |
– |
void setStartAtom( int info ) { startAtom = info; } |
42 |
– |
void setEndAtom( int info ) { endAtom = info; } |
41 |
|
void setStampID( int info ) { stampID = info; } |
42 |
|
|
43 |
|
|
47 |
|
int nAtoms; // the number of atoms in the molecule |
48 |
|
int nBonds; // ... .. .. . .bonds .. .. . . . . |
49 |
|
int nBends; // . . . . .. . .bends . . . . .. . |
50 |
< |
int nTorsions // .. . . .. . . torsions . . .. . . |
51 |
< |
int nOriented; // .. . . . .. . oreineted atoms . . . |
52 |
< |
|
50 |
> |
int nTorsions; // .. . . .. . . torsions . . .. . . |
51 |
> |
int nOriented; // .. . . . .. . oriented atoms . . . |
52 |
> |
int nMembers; |
53 |
|
|
54 |
|
Atom** myAtoms; // the array of atoms |
55 |
|
Bond** myBonds; // arrays of all the short range interactions |