ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/Restraints.cpp
(Generate patch)

Comparing trunk/OOPSE/libmdtools/Restraints.cpp (file contents):
Revision 1188 by chrisfen, Sat May 22 18:16:18 2004 UTC vs.
Revision 1189 by chrisfen, Sat May 22 20:55:04 2004 UTC

# Line 140 | Line 140 | double Restraints::Calc_Restraint_Forces(vector<StuntD
140    double tempPotent;
141    double factor;
142    double spaceTrq[3];
143 +  double omegaPass;
144    double omega;
145  
146    tolerance = 5.72957795131e-7;
# Line 154 | Line 155 | double Restraints::Calc_Restraint_Forces(vector<StuntD
155        vecParticles[i]->getA(A);
156        Calc_rVal( pos, i );
157        Calc_body_thetaVal( A, i );
158 <      vecParticles[i]->getZangle(omega);
159 <      Calc_body_omegaVal( A, omega );
158 >      omegaPass = vecParticles[i]->getZangle();
159 >      Calc_body_omegaVal( A, omegaPass );
160  
161        if (omega > PI || omega < -PI)
162          cout << "oops... " << omega << "\n";

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines