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

Comparing trunk/src/primitives/Atom.cpp (file contents):
Revision 507 by gezelter, Fri Apr 15 22:04:00 2005 UTC vs.
Revision 963 by tim, Wed May 17 21:51:42 2006 UTC

# Line 50 | Line 50 | namespace oopse {
50      return Mat3x3d::identity();
51    }    
52  
53 <  std::vector<double> Atom::getGrad() {
54 <    std::vector<double> grad(3);
53 >  std::vector<RealType> Atom::getGrad() {
54 >    std::vector<RealType> grad(3);
55      Vector3d force= getFrc();
56  
57      grad[0] = -force[0];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines