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

Comparing trunk/OOPSE-2.0/src/visitors/LipidTransVisitor.cpp (file contents):
Revision 2144 by tim, Mon Mar 28 22:30:06 2005 UTC vs.
Revision 2145 by tim, Mon Mar 28 22:41:19 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 <        atomInfo->pos = rotMat_ * tmp - origin_;;
128 >        currSnapshot->wrapVector(tmp);
129 >        atomInfo->pos = rotMat_ * tmp;;
130          atomInfo->dipole = rotMat_ * atomInfo->dipole;
131      }
132   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines