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 1755 by gezelter, Thu Jun 14 01:58:35 2012 UTC vs.
Revision 1787 by gezelter, Wed Aug 29 18:13:11 2012 UTC

# Line 99 | Line 99 | namespace OpenMD {
99      sdat.atype = atypesLocal[atom1];
100  
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