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

Comparing trunk/OOPSE-2.0/src/primitives/GhostTorsion.cpp (file contents):
Revision 1958 by tim, Tue Jan 25 17:45:23 2005 UTC vs.
Revision 1959 by tim, Wed Jan 26 15:15:09 2005 UTC

# Line 47 | Line 47 | void GhostTorsion::calcForce() {
47                   TorsionType *tt) : Torsion(atom1, atom2, ghostAtom, ghostAtom, tt) {}
48  
49   void GhostTorsion::calcForce() {
50 <    DirectionalAtom* ghostAtom = static_cast<DirectionalAtom*>(atom2_);    
50 >    DirectionalAtom* ghostAtom = static_cast<DirectionalAtom*>(atom3_);    
51  
52      Vector3d pos1 = atom1_->getPos();
53      Vector3d pos2 = atom2_->getPos();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines