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

Comparing branches/development/src/parallel/ForceDecomposition.cpp (file contents):
Revision 1574 by gezelter, Sun May 29 01:49:17 2011 UTC vs.
Revision 1575 by gezelter, Fri Jun 3 21:39:49 2011 UTC

# Line 109 | Line 109 | namespace OpenMD {
109        sdat.dfrhodrho = &(snap_->atomData.functionalDerivative[atom1]);
110      }
111  
112 +    if (storageLayout_ & DataStorage::dslParticlePot) {
113 +      sdat.particlePot = &(snap_->atomData.particlePot[atom1]);
114 +    }
115 +
116      return sdat;    
117    }
118  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines