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

Comparing trunk/OOPSE-4/src/visitors/LipidTransVisitor.cpp (file contents):
Revision 2057 by tim, Mon Feb 21 16:57:22 2005 UTC vs.
Revision 2144 by tim, Mon Mar 28 22:30:06 2005 UTC

# Line 125 | Line 125 | void LipidTransVisitor::internalVisit(StuntDouble *sd)
125      for( atomInfo = atomData->beginAtomInfo(i); atomInfo; atomInfo = atomData->nextAtomInfo(i) ) {
126  
127          Vector3d tmp= atomInfo->pos - origin_;
128 <        //we don't need to do the wrapping anymore, since LipidTransVisitor will be execute after
129 <        //WrappingVistor and ReplicateVisitor
130 <        atomInfo->pos = rotMat_ * tmp;
128 >        atomInfo->pos = rotMat_ * tmp - origin_;;
129          atomInfo->dipole = rotMat_ * atomInfo->dipole;
130      }
131   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines