ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/primitives/RigidBody.hpp
(Generate patch)

Comparing trunk/src/primitives/RigidBody.hpp (file contents):
Revision 963 by tim, Wed May 17 21:51:42 2006 UTC vs.
Revision 1126 by gezelter, Fri Apr 6 21:53:43 2007 UTC

# Line 110 | Line 110 | namespace oopse{
110  
111      void addAtom(Atom* at, AtomStamp* ats);
112  
113 <    /** calculate the reference coordinates */
113 >    /** calculates the reference coordinates */
114      void calcRefCoords();
115  
116 <    /** Convert Atomic forces and torques to total forces and torques */
116 >    /** Converts Atomic forces and torques to total forces and torques */
117      void calcForcesAndTorques();
118  
119 +    /** Converts Atomic forces and torques to total forces and torques and computes the rigid body contribution to the virial.  Returns the rigid body contribution to the virial as a 3x3 matrix. */
120 +    Mat3x3d calcForcesAndTorquesAndVirial();
121 +
122      /** update the positions of atoms belong to this rigidbody */
123      void updateAtoms();
124  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines