--- branches/mmeineke/OOPSE/libmdtools/Molecule.hpp 2003/03/21 17:42:12 377 +++ trunk/OOPSE/libmdtools/Molecule.hpp 2003/03/26 23:14:02 416 @@ -3,14 +3,36 @@ #include "Atom.hpp" #include "SRI.hpp" +#include "MoleculeStamp.hpp" +#include "Exclude.hpp" +typedef struct{ + + int stampID; // the ID in the BASS component stamp array + int nAtoms; // the number of atoms in the molecule + int nBonds; // ... .. .. . .bonds .. .. . . . . + int nBends; // . . . . .. . .bends . . . . .. . + int nTorsions; // .. . . .. . . torsions . . .. . . + int nOriented; // .. . . . .. . oriented atoms . . . + + Atom** myAtoms; // the array of atoms + Exclude** myExcludes;// the array of Excluded pairs + Bond** myBonds; // arrays of all the short range interactions + Bend** myBends; + Torsion** myTorsions; + + +} molInit; + class Molecule{ public: - Molecule() {} - ~Molecule() {} + Molecule( void ); + ~Molecule( void ); + void initialize( molInit &theInit ); + int getNMembers( void ) { return nMembers; } int getStartAtom( void ) { return startAtom; } int getEndAtom( void ) { return endAtom; } @@ -24,11 +46,23 @@ class Molecule{ (private) private: + int stampID; // the ID in the BASS component stamp array + int nAtoms; // the number of atoms in the molecule + int nBonds; // ... .. .. . .bonds .. .. . . . . + int nBends; // . . . . .. . .bends . . . . .. . + int nTorsions; // .. . . .. . . torsions . . .. . . + int nOriented; // .. . . . .. . oriented atoms . . . int nMembers; + + Atom** myAtoms; // the array of atoms + Bond** myBonds; // arrays of all the short range interactions + Bend** myBends; + Torsion** myTorsions; + int startAtom; int endAtom; - int stampID; + }; #endif