ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-4/src/primitives/Molecule.hpp
(Generate patch)

Comparing trunk/OOPSE-4/src/primitives/Molecule.hpp (file contents):
Revision 1930 by gezelter, Wed Jan 12 22:41:40 2005 UTC vs.
Revision 1973 by tim, Fri Feb 4 22:41:23 2005 UTC

# Line 111 | Line 111 | class Molecule {
111           * Sets the global index of this molecule.
112           * @param new global index to be set
113           */
114 <        int setGlobalIndex(int index) {
115 <            return globalIndex_;
114 >        void setGlobalIndex(int index) {
115 >            globalIndex_ = index;
116          }
117  
118          
# Line 292 | Line 292 | class Molecule {
292          /** Returns the velocity of center of mass of this molecule */
293          Vector3d getComVel();
294  
295 +        std::string getMoleculeName() {
296 +            return moleculeName_;
297 +        }
298 +        
299          friend std::ostream& operator <<(std::ostream& o, Molecule& mol);
300          
301      private:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines