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

Comparing trunk/OOPSE-4/src/primitives/GhostTorsion.cpp (file contents):
Revision 1959 by tim, Wed Jan 26 15:15:09 2005 UTC vs.
Revision 2204 by gezelter, Fri Apr 15 22:04:00 2005 UTC

# Line 1 | Line 1
1 < /*
1 > /*
2   * Copyright (c) 2005 The University of Notre Dame. All Rights Reserved.
3   *
4   * The University of Notre Dame grants you ("Licensee") a
# Line 43 | Line 43 | GhostTorsion::GhostTorsion(Atom *atom1, Atom *atom2,  
43  
44   namespace oopse {
45  
46 < GhostTorsion::GhostTorsion(Atom *atom1, Atom *atom2,  DirectionalAtom* ghostAtom,
47 <                 TorsionType *tt) : Torsion(atom1, atom2, ghostAtom, ghostAtom, tt) {}
46 >  GhostTorsion::GhostTorsion(Atom *atom1, Atom *atom2,  DirectionalAtom* ghostAtom,
47 >                             TorsionType *tt) : Torsion(atom1, atom2, ghostAtom, ghostAtom, tt) {}
48  
49 < void GhostTorsion::calcForce() {
49 >  void GhostTorsion::calcForce() {
50      DirectionalAtom* ghostAtom = static_cast<DirectionalAtom*>(atom3_);    
51  
52      Vector3d pos1 = atom1_->getPos();
# Line 92 | Line 92 | void GhostTorsion::calcForce() {
92  
93      f3.negate();
94      ghostAtom->addTrq(cross(r43, f3));    
95 < }
95 >  }
96  
97   }
98  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines