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

Comparing branches/new_design/OOPSE-4/src/primitives/Molecule.hpp (file contents):
Revision 1692 by tim, Mon Nov 1 20:15:58 2004 UTC vs.
Revision 1695 by tim, Mon Nov 1 22:52:57 2004 UTC

# Line 38 | Line 38
38   #include "math/Vector3.hpp"
39   #include "primitives/Atom.hpp"
40   #include "primitives/RigidBody.hpp"
41 + #include "primitives/Bond.hpp"
42 + #include "primitives/Bend.hpp"
43 + #include "primitives/Torsion.hpp"
44 + #include "primitives/CutoffGroup.hpp"
45  
46   namespace oopse{
47  
# Line 63 | Line 67 | class Molecule {
67           * Sets the global index of this molecule.
68           * @param new global index to be set
69           */
70 <        void setGlobalIndex(int index) {
70 >        int setGlobalIndex(int index) {
71              return globalIndex_;
72          }
73          
# Line 212 | Line 216 | class Molecule {
216          Vector3d getCom();
217  
218          /** Moves the center of this molecule */
219 <        void moveCom(const Vetor3d& delta);
219 >        void moveCom(const Vector3d& delta);
220  
221          /** Returns the velocity of center of mass of this molecule */
222          Vector3d getComVel();
# Line 220 | Line 224 | class Molecule {
224          /** Returns the total mass of this molecule */
225          double getTotalMass();
226  
227 <        friend std::ostream& operator <<(std::ostream& o, const Molecule& mol);
227 >        friend std::ostream& operator <<(std::ostream& o, Molecule& mol);
228          
229      private:
230          int localIndex_;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines