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 1390 by gezelter, Wed Nov 25 20:02:06 2009 UTC vs.
branches/development/src/visitors/RigidBodyVisitor.cpp (file contents), Revision 1465 by chuckv, Fri Jul 9 23:08:25 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");

Comparing:
trunk/src/visitors/RigidBodyVisitor.cpp (property svn:keywords), Revision 1390 by gezelter, Wed Nov 25 20:02:06 2009 UTC vs.
branches/development/src/visitors/RigidBodyVisitor.cpp (property svn:keywords), Revision 1465 by chuckv, Fri Jul 9 23:08:25 2010 UTC

# Line 0 | Line 1
1 + Author Id Revision Date

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines