ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/visitors/RigidBodyVisitor.cpp
(Generate patch)

Comparing trunk/src/visitors/RigidBodyVisitor.cpp (file contents):
Revision 1442 by gezelter, Mon May 10 17:28:26 2010 UTC vs.
Revision 1456 by gezelter, Fri Jun 25 17:40:24 2010 UTC

# Line 88 | Line 88 | namespace OpenMD {
88      atomInfo->pos[0] = pos[0];
89      atomInfo->pos[1] = pos[1];
90      atomInfo->pos[2] = pos[2];
91 <    atomInfo->dipole[0] = newVec[0];
92 <    atomInfo->dipole[1] = newVec[1];
93 <    atomInfo->dipole[2] = newVec[2];
91 >    atomInfo->vec[0] = newVec[0];
92 >    atomInfo->vec[1] = newVec[1];
93 >    atomInfo->vec[2] = newVec[2];
94  
95      atomData->addAtomInfo(atomInfo);
96  
# Line 155 | Line 155 | namespace OpenMD {
155      atomInfo->pos[0] = pos[0];
156      atomInfo->pos[1] = pos[1];
157      atomInfo->pos[2] = pos[2];
158 <    atomInfo->dipole[0] = 0;
159 <    atomInfo->dipole[1] = 0;
160 <    atomInfo->dipole[2] = 0;
158 >    atomInfo->vec[0] = 0;
159 >    atomInfo->vec[1] = 0;
160 >    atomInfo->vec[2] = 0;
161  
162      atomData = new AtomData;
163      atomData->setID("ATOMDATA");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines