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

Comparing branches/development/src/parallel/ForceDecomposition.cpp (file contents):
Revision 1786 by gezelter, Fri Jun 22 20:01:37 2012 UTC vs.
Revision 1787 by gezelter, Wed Aug 29 18:13:11 2012 UTC

# Line 101 | Line 101 | namespace OpenMD {
101      sdat.pot = &embeddingPot;
102      sdat.excludedPot = &excludedSelfPot;
103  
104 <    if (storageLayout_ & DataStorage::dslElectroFrame) {
105 <      sdat.eFrame = &(snap_->atomData.electroFrame[atom1]);
104 >    if (storageLayout_ & DataStorage::dslDipole) {
105 >      sdat.dipole = &(snap_->atomData.dipole[atom1]);
106      }
107 <    
107 >
108 >    if (storageLayout_ & DataStorage::dslQuadrupole) {
109 >      sdat.quadrupole = &(snap_->atomData.quadrupole[atom1]);
110 >    }
111 >
112      if (storageLayout_ & DataStorage::dslTorque) {
113        sdat.t = &(snap_->atomData.torque[atom1]);
114      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines