--- trunk/OOPSE/libmdtools/Molecule.hpp 2003/04/03 20:19:50 446 +++ trunk/OOPSE/libmdtools/Molecule.hpp 2003/04/03 20:57:56 449 @@ -16,8 +16,6 @@ typedef struct{ int nOriented; // .. . . . .. . oriented atoms . . . int nExcludes; // . . .. . . . .exclude pairs.. . . . - double* COM; // the location of the center of mass of the molecule - Atom** myAtoms; // the array of atoms Exclude** myExcludes;// the array of Excluded pairs Bond** myBonds; // arrays of all the short range interactions @@ -60,8 +58,8 @@ class Molecule{ (public) void printMe( void ); - double* getCOM(); - void moveCOM(double* delta); + void getCOM( double COM[3] ); + void moveCOM(double delta[3]); private: @@ -82,7 +80,6 @@ class Molecule{ (public) Torsion** myTorsions; Exclude** myExcludes; // array of the excluded pairs of long range forces - double* COM; }; #endif