ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-3.0/src/integrators/NPTi.cpp
(Generate patch)

Comparing branches/new_design/OOPSE-3.0/src/integrators/NPTi.cpp (file contents):
Revision 1896 by tim, Mon Dec 13 22:30:27 2004 UTC vs.
Revision 1897 by tim, Mon Dec 20 19:49:44 2004 UTC

# Line 52 | Line 52 | void NPTi::getPosScale(const Vector3d& pos, const Vect
52   void NPTi::getPosScale(const Vector3d& pos, const Vector3d& COM,
53                             int index, Vector3d& sc){
54      /**@todo*/
55 <    sc  = oldPos[index] + pos/2.0 -COM;
55 >    sc  = (oldPos[index] + pos)/2.0 -COM;
56      sc *= eta;
57   }
58  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines