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 1665 by gezelter, Tue Nov 22 20:38:56 2011 UTC

# Line 36 | Line 36
36   * [1]  Meineke, et al., J. Comp. Chem. 26, 252-271 (2005).            
37   * [2]  Fennell & Gezelter, J. Chem. Phys. 124, 234104 (2006).          
38   * [3]  Sun, Lin & Gezelter, J. Chem. Phys. 128, 24107 (2008).          
39 < * [4]  Vardeman & Gezelter, in progress (2009).                        
39 > * [4]  Kuang & Gezelter,  J. Chem. Phys. 133, 164101 (2010).
40 > * [5]  Vardeman, Stocker & Gezelter, J. Chem. Theory Comput. 7, 834 (2011).
41   */
42  
43   #include "visitors/RigidBodyVisitor.hpp"
# Line 88 | Line 89 | namespace OpenMD {
89      atomInfo->pos[0] = pos[0];
90      atomInfo->pos[1] = pos[1];
91      atomInfo->pos[2] = pos[2];
92 <    atomInfo->dipole[0] = newVec[0];
93 <    atomInfo->dipole[1] = newVec[1];
94 <    atomInfo->dipole[2] = newVec[2];
92 >    atomInfo->vec[0] = newVec[0];
93 >    atomInfo->vec[1] = newVec[1];
94 >    atomInfo->vec[2] = newVec[2];
95  
96      atomData->addAtomInfo(atomInfo);
97  
# Line 155 | Line 156 | namespace OpenMD {
156      atomInfo->pos[0] = pos[0];
157      atomInfo->pos[1] = pos[1];
158      atomInfo->pos[2] = pos[2];
159 <    atomInfo->dipole[0] = 0;
160 <    atomInfo->dipole[1] = 0;
161 <    atomInfo->dipole[2] = 0;
159 >    atomInfo->vec[0] = 0;
160 >    atomInfo->vec[1] = 0;
161 >    atomInfo->vec[2] = 0;
162  
163      atomData = new AtomData;
164      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 1665 by gezelter, Tue Nov 22 20:38:56 2011 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines